ROMFS: start magnetometer temperature compensation if enabled

This commit is contained in:
Igor Mišić 2024-01-23 19:13:16 +01:00
parent 0df611b115
commit 35b0e93387
1 changed files with 5 additions and 0 deletions

View File

@ -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