mirror of https://github.com/ArduPilot/ardupilot
AP_RCTelemetry: use minimize_features.inc for more features
This commit is contained in:
parent
179b79a00c
commit
1f565295a3
|
@ -12,3 +12,7 @@
|
|||
#ifndef HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED
|
||||
#define HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED OSD_ENABLED && OSD_PARAM_ENABLED && HAL_CRSF_TELEM_ENABLED && BOARD_FLASH_SIZE > 1024
|
||||
#endif
|
||||
|
||||
#ifndef HAL_SPEKTRUM_TELEM_ENABLED
|
||||
#define HAL_SPEKTRUM_TELEM_ENABLED 1
|
||||
#endif
|
||||
|
|
|
@ -14,11 +14,7 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_SPEKTRUM_TELEM_ENABLED
|
||||
#define HAL_SPEKTRUM_TELEM_ENABLED !HAL_MINIMIZE_FEATURES
|
||||
#endif
|
||||
#include "AP_RCTelemetry_config.h"
|
||||
|
||||
#if HAL_SPEKTRUM_TELEM_ENABLED
|
||||
|
||||
|
|
Loading…
Reference in New Issue