mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 16:23:34 +08:00
ll40ls driver: support also lidar lite v3HP (#10578)
This commit is contained in:
committed by
Daniel Agar
parent
6f7c572601
commit
a2d1f6ddce
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user