Browse Source

AP_Frsky_Telem: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED

gps-1.3.1
Peter Barker 3 years ago committed by Peter Barker
parent
commit
64aaf9d93d
  1. 2
      libraries/AP_Frsky_Telem/AP_Frsky_SPort_Passthrough.cpp

2
libraries/AP_Frsky_Telem/AP_Frsky_SPort_Passthrough.cpp

@ -468,7 +468,7 @@ uint32_t AP_Frsky_SPort_Passthrough::calc_param(void) @@ -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;

Loading…
Cancel
Save