mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-20 15:48:29 -04:00
4a29a57d8d
in the case that cygbot was selected but not compiled in we would try to insantiate a DroneCAN backend
12 lines
270 B
C
12 lines
270 B
C
#pragma once
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
#ifndef HAL_PROXIMITY_ENABLED
|
|
#define HAL_PROXIMITY_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024)
|
|
#endif
|
|
|
|
#ifndef AP_PROXIMITY_CYGBOT_ENABLED
|
|
#define AP_PROXIMITY_CYGBOT_ENABLED HAL_PROXIMITY_ENABLED
|
|
#endif
|