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
|
#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
|
#define HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED OSD_ENABLED && OSD_PARAM_ENABLED && HAL_CRSF_TELEM_ENABLED && BOARD_FLASH_SIZE > 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAL_SPEKTRUM_TELEM_ENABLED
|
||||||
|
#define HAL_SPEKTRUM_TELEM_ENABLED 1
|
||||||
|
#endif
|
||||||
|
|
|
@ -14,11 +14,7 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL_Boards.h>
|
#include "AP_RCTelemetry_config.h"
|
||||||
|
|
||||||
#ifndef HAL_SPEKTRUM_TELEM_ENABLED
|
|
||||||
#define HAL_SPEKTRUM_TELEM_ENABLED !HAL_MINIMIZE_FEATURES
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAL_SPEKTRUM_TELEM_ENABLED
|
#if HAL_SPEKTRUM_TELEM_ENABLED
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue