mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-27 18:23:57 -04:00
AP_RangeFinder: disabled LeddarOne driver
this driver is broken and could cause a vehicle to crash. It does busy waits on a UART from the main thread. It will be re-enabled when fixed
This commit is contained in:
parent
1a01fa9eb7
commit
a494b2fd73
@ -538,11 +538,15 @@ void RangeFinder::detect_instance(uint8_t instance)
|
||||
}
|
||||
}
|
||||
if (type == RangeFinder_TYPE_LEDDARONE) {
|
||||
#if 0
|
||||
if (AP_RangeFinder_LeddarOne::detect(*this, instance, serial_manager)) {
|
||||
state[instance].instance = instance;
|
||||
drivers[instance] = new AP_RangeFinder_LeddarOne(*this, instance, state[instance], serial_manager);
|
||||
return;
|
||||
}
|
||||
#else
|
||||
hal.console->printf("LEDDARONE driver disabled\n");
|
||||
#endif
|
||||
}
|
||||
#if (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP || \
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_DISCO) && defined(HAVE_LIBIIO)
|
||||
|
Loading…
Reference in New Issue
Block a user