mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_Scripting: allow AP_SCRIPTING_ENABLED to come from hwdef files
This commit is contained in:
1 parent
3aaeb0f29c
commit
d519ab604e
9 files changed
+59
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
#include "AP_Scripting_config.h"
|
||||
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
|
||||
#include "AP_Scripting_helpers.h"
|
||||
#include <AP_Scripting/lua_generated_bindings.h>
|
||||
|
||||
@@ -192,3 +196,5 @@ bool Parameter::set_default(float value)
|
||||
// not a supported type
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif // AP_SCRIPTING_ENABLED
|
||||
Reference in new issue
Block a user