mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Tools: ensure ENABLE_SCRIPTING is always defined
This commit is contained in:
parent
5cd2c00ea7
commit
32374d1614
@ -214,7 +214,7 @@ void AP_Periph_FW::init()
|
||||
notify.init();
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
scripting.init();
|
||||
#endif
|
||||
start_ms = AP_HAL::native_millis();
|
||||
|
@ -225,7 +225,7 @@ public:
|
||||
uint32_t get_vehicle_state() { return 0.0; }
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
AP_Scripting scripting;
|
||||
#endif
|
||||
|
||||
|
@ -347,7 +347,7 @@ const AP_Param::Info AP_Periph_FW::var_info[] = {
|
||||
GOBJECT(serial_manager, "SERIAL", AP_SerialManager),
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
// @Group: SCR_
|
||||
// @Path: ../libraries/AP_Scripting/AP_Scripting.cpp
|
||||
GOBJECT(scripting, "SCR_", AP_Scripting),
|
||||
|
Loading…
Reference in New Issue
Block a user