ll40ls driver: support also lidar lite v3HP (#10578)

This commit is contained in:
Daniele Pettenuzzo
2018-10-04 00:54:27 -04:00
committed by Daniel Agar
parent 6f7c572601
commit a2d1f6ddce
5 changed files with 48 additions and 15 deletions
@@ -114,6 +114,7 @@ void start(enum LL40LS_BUS busid, uint8_t rotation)
if (instance) {
PX4_INFO("driver already started");
return;
}
if (busid == LL40LS_BUS_PWM) {
@@ -149,7 +150,6 @@ void start(enum LL40LS_BUS busid, uint8_t rotation)
PX4_ERR("failed to initialize LidarLiteI2C on busnum=%u", bus_options[i].busnum);
stop();
return;
}
}