mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
ROMFS: start magnetometer temperature compensation if enabled
This commit is contained in:
@@ -22,6 +22,11 @@ then
|
|||||||
set TEMP_COMP_START "true"
|
set TEMP_COMP_START "true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if param compare -s TC_M_ENABLE 1
|
||||||
|
then
|
||||||
|
set TEMP_COMP_START "true"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "x$TEMP_COMP_START" != "x" ]
|
if [ "x$TEMP_COMP_START" != "x" ]
|
||||||
then
|
then
|
||||||
temperature_compensation start
|
temperature_compensation start
|
||||||
|
|||||||
Reference in New Issue
Block a user