mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-07 13:25:15 +08:00
AP_Scripting: protect CRSF scripting when there is no scripting
This commit is contained in:
committed by
Andrew Tridgell
parent
c54f0c5d1c
commit
25f0b7bda5
@@ -1,4 +1,7 @@
|
||||
#include "AP_Scripting_config.h"
|
||||
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
|
||||
#include "AP_Scripting_CRSFMenu.h"
|
||||
|
||||
#if AP_CRSF_SCRIPTING
|
||||
@@ -131,3 +134,4 @@ int lua_CRSF_param_data(lua_State *L)
|
||||
}
|
||||
|
||||
#endif // AP_CRSF_SCRIPTING
|
||||
#endif // AP_SCRIPTING
|
||||
|
||||
Reference in New Issue
Block a user