mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
AP_RangeFinder: added VRBRAIN to use PX4 libraries
This commit is contained in:
parent
dae32984f1
commit
c38b11eec8
@ -232,7 +232,7 @@ void RangeFinder::detect_instance(uint8_t instance)
|
||||
return;
|
||||
}
|
||||
}
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
||||
if (type == RangeFinder_TYPE_PX4) {
|
||||
if (AP_RangeFinder_PX4::detect(*this, instance)) {
|
||||
state[instance].instance = instance;
|
||||
|
Loading…
Reference in New Issue
Block a user