mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
a65cd27435
... also a few other variables. Also move these out of the main header file as one is internal and the others should go in the ocnfig. in case the values are used elsewhere
36 lines
838 B
C
36 lines
838 B
C
#pragma once
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
#ifndef AP_BEACON_ENABLED
|
|
#define AP_BEACON_ENABLED 1
|
|
#endif
|
|
|
|
#ifndef AP_BEACON_MAX_BEACONS
|
|
#define AP_BEACON_MAX_BEACONS 4
|
|
#endif
|
|
|
|
#ifndef AP_BEACON_TIMEOUT_MS
|
|
#define AP_BEACON_TIMEOUT_MS 300
|
|
#endif
|
|
|
|
#ifndef AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
#define AP_BEACON_BACKEND_DEFAULT_ENABLED AP_BEACON_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_BEACON_MARVELMIND_ENABLED
|
|
#define AP_BEACON_MARVELMIND_ENABLED AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_BEACON_NOOPLOOP_ENABLED
|
|
#define AP_BEACON_NOOPLOOP_ENABLED AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_BEACON_POZYX_ENABLED
|
|
#define AP_BEACON_POZYX_ENABLED AP_BEACON_BACKEND_DEFAULT_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_BEACON_SITL_ENABLED
|
|
#define AP_BEACON_SITL_ENABLED (AP_BEACON_BACKEND_DEFAULT_ENABLED && CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
|
#endif
|