1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-15 20:35:19 +03:00

polishing backup object

This commit is contained in:
cTn 2014-03-07 17:43:53 +01:00
parent 3f6f363d1b
commit dfdddad767

View file

@ -53,12 +53,13 @@ function configuration_backup() {
// create config object that will be used to store all downloaded data // create config object that will be used to store all downloaded data
var configuration = { var configuration = {
VERSION: CONFIG.version, // not really useful yet 'firmware_version': CONFIG.version,
PID: PIDs, 'configurator_version': chrome.runtime.getManifest().version,
AUX_val: AUX_CONFIG_values, 'PID': PIDs,
RC: RC_tuning, 'AUX_val': AUX_CONFIG_values,
AccelTrim: CONFIG.accelerometerTrims, 'RC': RC_tuning,
MISC: MISC 'AccelTrim': CONFIG.accelerometerTrims,
'MISC': MISC
}; };
// crunch the config object // crunch the config object