mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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_BBB_PRU.h"
|
||||||
#include "AP_RangeFinder_LightWareI2C.h"
|
#include "AP_RangeFinder_LightWareI2C.h"
|
||||||
#include "AP_RangeFinder_LightWareSerial.h"
|
#include "AP_RangeFinder_LightWareSerial.h"
|
||||||
#if (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP || \
|
#if AP_RANGEFINDER_BEBOP_ENABLED
|
||||||
CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_DISCO) && \
|
|
||||||
defined(HAVE_LIBIIO)
|
|
||||||
#include "AP_RangeFinder_Bebop.h"
|
#include "AP_RangeFinder_Bebop.h"
|
||||||
#endif
|
#endif
|
||||||
#include "AP_RangeFinder_Backend.h"
|
#include "AP_RangeFinder_Backend.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user