From e68ee6f86e65661b21b92388415e8ba6e89ef322 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 26 Nov 2019 14:40:53 +0900 Subject: [PATCH] Sub: scripting init sends failure message --- ArduSub/system.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArduSub/system.cpp b/ArduSub/system.cpp index 8a72e31ca6..516bfb0384 100644 --- a/ArduSub/system.cpp +++ b/ArduSub/system.cpp @@ -188,9 +188,7 @@ void Sub::init_ardupilot() startup_INS_ground(); #ifdef ENABLE_SCRIPTING - if (!g2.scripting.init()) { - gcs().send_text(MAV_SEVERITY_ERROR, "Scripting failed to start"); - } + g2.scripting.init(); #endif // ENABLE_SCRIPTING // we don't want writes to the serial port to cause us to pause