mirror of https://github.com/ArduPilot/ardupilot
AP_NMEA_Output: use minimize_features.inc for more features
This commit is contained in:
parent
cd472b8f52
commit
afccfee001
|
@ -1,7 +1,9 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL_Boards.h>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
#include <GCS_MAVLink/GCS_config.h>
|
#include <GCS_MAVLink/GCS_config.h>
|
||||||
|
|
||||||
// Needs SerialManager + (AHRS or GPS)
|
// Needs SerialManager + (AHRS or GPS)
|
||||||
#ifndef HAL_NMEA_OUTPUT_ENABLED
|
#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
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue