mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: tidy defines around bebop rangefinder inclusion
This commit is contained in:
parent
cb6907992b
commit
e22eb07cd8
|
@ -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