diff --git a/libraries/AP_NMEA_Output/AP_NMEA_Output_config.h b/libraries/AP_NMEA_Output/AP_NMEA_Output_config.h index d3164bb1a5..f8e44934de 100644 --- a/libraries/AP_NMEA_Output/AP_NMEA_Output_config.h +++ b/libraries/AP_NMEA_Output/AP_NMEA_Output_config.h @@ -5,5 +5,5 @@ // Needs SerialManager + (AHRS or GPS) #ifndef HAL_NMEA_OUTPUT_ENABLED -#define HAL_NMEA_OUTPUT_ENABLED HAL_GCS_ENABLED +#define HAL_NMEA_OUTPUT_ENABLED BOARD_FLASH_SIZE>1024 && HAL_GCS_ENABLED #endif