diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 982deaf150..70006c9720 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -95,6 +95,12 @@ then paw3902 -S start fi +# Check for px4flow sensor +if param compare -s SENS_EN_PX4FLOW 1 +then + px4flow start -X +fi + # vl53l1x i2c distance sensor if param compare -s SENS_EN_VL53L1X 1 then diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 8fc5b5202c..940b690a5a 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -492,12 +492,6 @@ else gimbal start fi - # Check for flow sensor - if param compare -s SENS_EN_PX4FLOW 1 - then - px4flow start -X - fi - # Blacksheep telemetry if param compare -s TEL_BST_EN 1 then