mirror of https://github.com/ArduPilot/ardupilot
Rover: scripting init sends failure message
This commit is contained in:
parent
fdf0aa223e
commit
134a20c119
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue