1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

first set of bugfixes, store configurator version in the backup file

This commit is contained in:
cTn 2014-10-12 16:16:47 +02:00
parent 4f0ddfb5b2
commit a67bbac54b

View file

@ -22,6 +22,7 @@ function configuration_backup(callback) {
]; ];
var configuration = { var configuration = {
'generatedBy': chrome.runtime.getManifest().version,
'profiles': [] 'profiles': []
}; };
@ -59,11 +60,12 @@ function configuration_backup(callback) {
codeKey = 0; codeKey = 0;
fetchingProfile++; fetchingProfile++;
query();
MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [fetchingProfile], false, query);
} }
}); });
} else { } else {
MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [0], false, fetch_unique_data); MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [activeProfile], false, fetch_unique_data);
} }
} }