From 834c91b192802e2c0237fffc9bb6970d32551c2e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 20 Oct 2014 07:07:14 +1100 Subject: [PATCH] PX4: try starting the ll40ls on either I2C bus --- mk/PX4/ROMFS/init.d/rc.APM | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mk/PX4/ROMFS/init.d/rc.APM b/mk/PX4/ROMFS/init.d/rc.APM index 5a9010f87b..671fcf9bd0 100644 --- a/mk/PX4/ROMFS/init.d/rc.APM +++ b/mk/PX4/ROMFS/init.d/rc.APM @@ -319,9 +319,14 @@ then fi # optional Range Finder sensor -if ll40ls start +if ll40ls -X start then - echo "Found ll40ls sensor" + echo "Found external ll40ls sensor" +fi + +if ll40ls -I start +then + echo "Found internal ll40ls sensor" fi if mb12xx start