Skip to content

Commit

Permalink
rc.sensors : fix startup for lidars on Pixhawk boards (#9058)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkabir authored and dagar committed Mar 15, 2018
1 parent f68f897 commit 7776789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ROMFS/px4fmu_common/init.d/rc.sensors
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7776789

Please sign in to comment.