mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -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
8739858658
commit
df23c4857e
@ -634,11 +634,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