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