mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Plane: scripting init sends failure message
This commit is contained in:
parent
32a0350aef
commit
e4f28cd0a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user