AP_Frsky_Telem: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED

This commit is contained in:
Peter Barker 2021-11-15 16:08:27 +11:00 committed by Peter Barker
parent 13dc37fdcc
commit 64aaf9d93d
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
#if ENABLE_SCRIPTING
#if AP_SCRIPTING_ENABLED
BIT_SET(param_value,PassthroughFeatures::SCRIPTING);
#endif
_paramID = FRAME_TYPE;