1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 20:10:11 +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
var configuration = {
VERSION: CONFIG.version, // not really useful yet
PID: PIDs,
AUX_val: AUX_CONFIG_values,
RC: RC_tuning,
AccelTrim: CONFIG.accelerometerTrims,
MISC: MISC
'firmware_version': CONFIG.version,
'configurator_version': chrome.runtime.getManifest().version,
'PID': PIDs,
'AUX_val': AUX_CONFIG_values,
'RC': RC_tuning,
'AccelTrim': CONFIG.accelerometerTrims,
'MISC': MISC
};
// crunch the config object