Browse Source

Sub: scripting init sends failure message

zr-v5.1
Randy Mackay 5 years ago
parent
commit
952517cb40
  1. 4
      ArduSub/system.cpp

4
ArduSub/system.cpp

@ -190,9 +190,7 @@ void Sub::init_ardupilot()
startup_INS_ground(); startup_INS_ground();
#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

Loading…
Cancel
Save