AP_Frsky_Telem: ensure ENABLE_SCRIPTING is always defined

This commit is contained in:
Peter Barker 2021-11-15 12:16:24 +11:00 committed by Peter Barker
parent c153225ccf
commit 39a4f0b3b2
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ uint32_t AP_Frsky_SPort_Passthrough::calc_param(void)
#if HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL
BIT_SET(param_value,PassthroughFeatures::BIDIR);
#endif
#ifdef ENABLE_SCRIPTING
#if ENABLE_SCRIPTING
BIT_SET(param_value,PassthroughFeatures::SCRIPTING);
#endif
_paramID = FRAME_TYPE;