mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Scripting: allow AP_SCRIPTING_ENABLED to come from hwdef files
This commit is contained in:
committed by
Peter Barker
parent
3aaeb0f29c
commit
d519ab604e
@@ -2,6 +2,9 @@
|
||||
// lua/src/lua.c. It overall modified the functions to the minimum amount
|
||||
// required, with the exception of fixing whitespace/indentation on if's
|
||||
|
||||
#include "AP_Scripting_config.h"
|
||||
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
|
||||
#include "lua_scripts.h"
|
||||
#include <AP_Scripting/lua_generated_bindings.h>
|
||||
@@ -257,3 +260,5 @@ void lua_scripts::doREPL(lua_State *L) {
|
||||
repl_cleanup();
|
||||
}
|
||||
|
||||
|
||||
#endif // AP_SCRIPTING_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user