mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 03:19:54 +03:00
Rebase CLI tab on latest CF
Integrates Save to File and Clear Output buttons, plus some minor iNav compatibility patches
This commit is contained in:
parent
66e43c0603
commit
a340443c43
8 changed files with 324 additions and 106 deletions
|
@ -306,7 +306,12 @@ function onOpen(openInfo) {
|
|||
googleAnalytics.sendEvent('Firmware', 'Variant', CONFIG.flightControllerIdentifier + ',' + CONFIG.flightControllerVersion);
|
||||
GUI.log(chrome.i18n.getMessage('fcInfoReceived', [CONFIG.flightControllerIdentifier, CONFIG.flightControllerVersion]));
|
||||
if (semver.gte(CONFIG.flightControllerVersion, CONFIGURATOR.firmwareVersionAccepted)) {
|
||||
onValidFirmware();
|
||||
mspHelper.getCraftName(function(name) {
|
||||
if (name) {
|
||||
CONFIG.name = name;
|
||||
}
|
||||
onValidFirmware();
|
||||
});
|
||||
} else {
|
||||
onInvalidFirmwareVersion();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue