Fix backup of PID controller.

10.3.x-maintenance
Dominic Clifton 2015-01-29 21:50:02 +01:00
parent c78bd800db
commit e672dde6e2
1 changed files with 1 additions and 1 deletions

View File

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