2023-03-18 19:55:12 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
#include <AP_Frsky_Telem/AP_Frsky_config.h>
|
|
|
|
#include <AP_OSD/AP_OSD_config.h>
|
2023-04-26 10:46:08 -03:00
|
|
|
#include <AP_RCProtocol/AP_RCProtocol_config.h>
|
2023-03-18 19:55:12 -03:00
|
|
|
|
|
|
|
#ifndef HAL_CRSF_TELEM_ENABLED
|
2023-04-26 10:46:08 -03:00
|
|
|
#define HAL_CRSF_TELEM_ENABLED AP_RCPROTOCOL_CRSF_ENABLED && AP_FRSKY_SPORT_PASSTHROUGH_ENABLED
|
2023-03-18 19:55:12 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#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
|
2023-05-31 22:21:45 -03:00
|
|
|
|
|
|
|
#ifndef HAL_SPEKTRUM_TELEM_ENABLED
|
|
|
|
#define HAL_SPEKTRUM_TELEM_ENABLED 1
|
|
|
|
#endif
|