diff --git a/libraries/AP_Beacon/AP_Beacon_config.h b/libraries/AP_Beacon/AP_Beacon_config.h index d3d866015f..7ef644f358 100644 --- a/libraries/AP_Beacon/AP_Beacon_config.h +++ b/libraries/AP_Beacon/AP_Beacon_config.h @@ -3,7 +3,7 @@ #include #ifndef AP_BEACON_ENABLED -#define AP_BEACON_ENABLED 1 +#define AP_BEACON_ENABLED BOARD_FLASH_SIZE > 2048 #endif #ifndef AP_BEACON_MAX_BEACONS