Browse Source

Plane: scripting init sends failure message

master
Randy Mackay 5 years ago
parent
commit
e4f28cd0a5
  1. 4
      ArduPlane/system.cpp

4
ArduPlane/system.cpp

@ -223,9 +223,7 @@ void Plane::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
// reset last heartbeat time, so we don't trigger failsafe on slow // reset last heartbeat time, so we don't trigger failsafe on slow

Loading…
Cancel
Save