mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RangeFinder: fix detect for LeddarVu8
Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
This commit is contained in:
parent
b068f15932
commit
f269004610
@ -498,7 +498,7 @@ void RangeFinder::detect_instance(uint8_t instance, uint8_t& serial_instance)
|
||||
}
|
||||
break;
|
||||
case Type::LeddarVu8_Serial:
|
||||
if (AP_RangeFinder_Lanbao::detect(serial_instance)) {
|
||||
if (AP_RangeFinder_LeddarVu8::detect(serial_instance)) {
|
||||
drivers[instance] = new AP_RangeFinder_LeddarVu8(state[instance], params[instance], serial_instance++);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user