From e4f28cd0a5c102ce31a079ac9a10843b0cb05a48 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 26 Nov 2019 14:40:44 +0900 Subject: [PATCH] Plane: scripting init sends failure message --- ArduPlane/system.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index e04cdd1bef..9b31cbbb66 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -223,9 +223,7 @@ void Plane::startup_ground(void) #endif #ifdef ENABLE_SCRIPTING - if (!g2.scripting.init()) { - gcs().send_text(MAV_SEVERITY_ERROR, "Scripting failed to start"); - } + g2.scripting.init(); #endif // ENABLE_SCRIPTING // reset last heartbeat time, so we don't trigger failsafe on slow