mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RangeFinder: tidy defines around bebop rangefinder inclusion
This commit is contained in:
parent
5b961891ee
commit
4a52e86131
@ -24,9 +24,7 @@
|
||||
#include "AP_RangeFinder_BBB_PRU.h"
|
||||
#include "AP_RangeFinder_LightWareI2C.h"
|
||||
#include "AP_RangeFinder_LightWareSerial.h"
|
||||
#if (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP || \
|
||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_DISCO) && \
|
||||
defined(HAVE_LIBIIO)
|
||||
#if AP_RANGEFINDER_BEBOP_ENABLED
|
||||
#include "AP_RangeFinder_Bebop.h"
|
||||
#endif
|
||||
#include "AP_RangeFinder_Backend.h"
|
||||
|
Loading…
Reference in New Issue
Block a user