sensors: Update param name

This commit is contained in:
Lorenz Meier
2015-02-15 19:52:02 +01:00
parent 2017c74e52
commit 4740568446
+1 -1
View File
@@ -1527,7 +1527,7 @@ Sensors::parameter_update_poll(bool forced)
/* if the old param is non-zero, set the new one to the same value */
if ((deprecated_mag_rot != 0) && (mag_rot <= 0)) {
mag_rot = deprecated_mag_rot;
param_set_no_notification(param_find("CAL_MAG0_ROT"), &mag_rot);
param_set_no_notification(param_find(str), &mag_rot);
}
}