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

Fix backup of PID controller.

This commit is contained in:
Dominic Clifton 2015-01-29 21:50:02 +01:00
parent c78bd800db
commit e672dde6e2

View file

@ -48,7 +48,7 @@ function configuration_backup(callback) {
fetch_specific_data_item(); fetch_specific_data_item();
} else { } else {
configuration.profiles.push({ configuration.profiles.push({
'PID': jQuery.extend(true, [], PID), 'PID': jQuery.extend(true, {}, PID),
'PIDs': jQuery.extend(true, [], PIDs), 'PIDs': jQuery.extend(true, [], PIDs),
'RC': jQuery.extend(true, {}, RC_tuning), 'RC': jQuery.extend(true, {}, RC_tuning),
'AccTrim': jQuery.extend(true, [], CONFIG.accelerometerTrims), 'AccTrim': jQuery.extend(true, [], CONFIG.accelerometerTrims),