1
0
Fork 0
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:
Niccolò Maggioni 2018-11-29 14:26:02 +01:00
parent 66e43c0603
commit a340443c43
No known key found for this signature in database
GPG key ID: 4874B0C841E33264
8 changed files with 324 additions and 106 deletions

View file

@ -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();
}