mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
moving firmware version info to gui.log
This commit is contained in:
parent
8d6702c15e
commit
7af2c39aca
3 changed files with 7 additions and 7 deletions
|
@ -160,11 +160,11 @@ function onOpen(openInfo) {
|
|||
send_message(MSP_codes.MSP_IDENT, MSP_codes.MSP_IDENT, false, function() {
|
||||
GUI.timeout_remove('connecting'); // kill connecting timer
|
||||
|
||||
if (CONFIG.version >= firmware_version_accepted) {
|
||||
// Update UI elements that doesn't need consistent refreshing
|
||||
$('.software-version').html(CONFIG.version);
|
||||
GUI.log(chrome.i18n.getMessage('firmware_version', [CONFIG.version]));
|
||||
|
||||
if (CONFIG.version >= firmware_version_accepted) {
|
||||
configuration_received = true;
|
||||
|
||||
$('div#port-picker a.connect').text('Disconnect').addClass('active');
|
||||
$('#tabs li a:first').click();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue