mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
ROMFS: start heater after px4io
Otherwise the device is not available when we start the heater.
This commit is contained in:
@@ -71,12 +71,6 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Heater driver for temperature regulated IMUs.
|
|
||||||
if param compare -s SENS_EN_THERMAL 1
|
|
||||||
then
|
|
||||||
heater start
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Teraranger one tof sensor
|
# Teraranger one tof sensor
|
||||||
if param greater -s SENS_EN_TRANGER 0
|
if param greater -s SENS_EN_TRANGER 0
|
||||||
then
|
then
|
||||||
|
|||||||
@@ -404,6 +404,14 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Heater driver for temperature regulated IMUs.
|
||||||
|
# The heater needs to start after px4io.
|
||||||
|
if param compare -s SENS_EN_THERMAL 1
|
||||||
|
then
|
||||||
|
heater start
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# RC update (map raw RC input to calibrate manual control)
|
# RC update (map raw RC input to calibrate manual control)
|
||||||
# start before commander
|
# start before commander
|
||||||
|
|||||||
Reference in New Issue
Block a user