AP_NMEA_Output: use minimize_features.inc for more features

This commit is contained in:
Peter Barker 2023-06-01 11:21:45 +10:00 committed by Andrew Tridgell
parent cd472b8f52
commit afccfee001
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#include <GCS_MAVLink/GCS_config.h>
// Needs SerialManager + (AHRS or GPS)
#ifndef HAL_NMEA_OUTPUT_ENABLED
#define HAL_NMEA_OUTPUT_ENABLED !HAL_MINIMIZE_FEATURES && HAL_GCS_ENABLED
#define HAL_NMEA_OUTPUT_ENABLED HAL_GCS_ENABLED
#endif