mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Arming: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
This commit is contained in:
parent
8e15bf09a6
commit
a729ba165e
@ -887,7 +887,7 @@ bool AP_Arming::system_checks(bool report)
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#if ENABLE_SCRIPTING
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
const AP_Scripting *scripting = AP_Scripting::get_singleton();
|
||||
if ((scripting != nullptr) && scripting->enabled() && scripting->init_failed()) {
|
||||
check_failed(ARMING_CHECK_SYSTEM, report, "Scripting out of memory");
|
||||
|
Loading…
Reference in New Issue
Block a user