From 7f7a7325ebaa815336355a0db9f02fe2b6c97f19 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 26 Nov 2019 14:40:19 +0900 Subject: [PATCH] Rover: scripting init sends failure message --- APMrover2/system.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/APMrover2/system.cpp b/APMrover2/system.cpp index 7368984d9d..b73659ba06 100644 --- a/APMrover2/system.cpp +++ b/APMrover2/system.cpp @@ -199,9 +199,7 @@ void Rover::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 // we don't want writes to the serial port to cause us to pause