AP_RCTelemetry: CRSF telemetry depends on SPortPassthrough

This commit is contained in:
Peter Barker 2022-04-18 13:10:44 +10:00 committed by Peter Barker
parent 1203f118d7
commit 720bfc8dc8

View File

@ -15,10 +15,11 @@
#pragma once #pragma once
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#include <AP_Frsky_Telem/AP_Frsky_config.h>
#include <AP_OSD/AP_OSD.h> #include <AP_OSD/AP_OSD.h>
#ifndef HAL_CRSF_TELEM_ENABLED #ifndef HAL_CRSF_TELEM_ENABLED
#define HAL_CRSF_TELEM_ENABLED 1 #define HAL_CRSF_TELEM_ENABLED AP_FRSKY_SPORT_PASSTHROUGH_ENABLED
#endif #endif
#ifndef HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED #ifndef HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED