AP_Arming: ensure ENABLE_SCRIPTING is always defined
This commit is contained in:
parent
38479905c0
commit
c153225ccf
@ -887,7 +887,7 @@ bool AP_Arming::system_checks(bool report)
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
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