From a729ba165e467db32488098aa454a5fc3e57629d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Nov 2021 16:08:26 +1100 Subject: [PATCH] AP_Arming: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED --- libraries/AP_Arming/AP_Arming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index b8dee3c99a..903007d40a 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -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");