5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-09 17:38:32 -04:00

Rover: scripting init sends failure message

This commit is contained in:
Randy Mackay 2019-11-26 14:40:19 +09:00 committed by Andrew Tridgell
parent fdf0aa223e
commit 134a20c119

View File

@ -199,9 +199,7 @@ void Rover::startup_ground(void)
#endif #endif
#ifdef ENABLE_SCRIPTING #ifdef ENABLE_SCRIPTING
if (!g2.scripting.init()) { g2.scripting.init();
gcs().send_text(MAV_SEVERITY_ERROR, "Scripting failed to start");
}
#endif // ENABLE_SCRIPTING #endif // ENABLE_SCRIPTING
// we don't want writes to the serial port to cause us to pause // we don't want writes to the serial port to cause us to pause