diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-14 20:38:03 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-15 19:52:02 +0100 |
commit | 4740568446a7605211d5443725ed487d171e15af (patch) | |
tree | 39e758a90a743b7f5d9002396fd44a0cb4fd8f53 /src/modules | |
parent | 2017c74e5250c46d04f34eda1f78a4f3c7fe5061 (diff) | |
download | px4-firmware-4740568446a7605211d5443725ed487d171e15af.tar.gz px4-firmware-4740568446a7605211d5443725ed487d171e15af.tar.bz2 px4-firmware-4740568446a7605211d5443725ed487d171e15af.zip |
sensors: Update param name
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/sensors/sensors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index a657e979d..8ec986ddb 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -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); } } |