From 7776789b7d0174050ed432433b4bc43672cadc51 Mon Sep 17 00:00:00 2001 From: Kabir Mohammed Date: Thu, 15 Mar 2018 13:26:35 -0400 Subject: [PATCH] rc.sensors : fix startup for lidars on Pixhawk boards (#9058) --- ROMFS/px4fmu_common/init.d/rc.sensors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index 8d4c4b2719..6bf5dfa559 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -399,7 +399,7 @@ fi # Benewake TFMini if param greater SENS_EN_TFMINI 0 then - if ver hwcmp PX4FMU_V3 + if ver hwcmp PX4FMU_V2 PX4FMU_V4PRO then # start the driver on serial 4/5 tfmini start -d /dev/ttyS6 @@ -421,7 +421,7 @@ fi # LeddarOne if param greater SENS_EN_LEDDAR1 0 then - if ver hwcmp PX4FMU_V3 + if ver hwcmp PX4FMU_V2 PX4FMU_V4PRO then # start the driver on serial 4/5 leddar_one -d /dev/ttyS6 start