Tracker: scripting init sends failure message

This commit is contained in:
Randy Mackay 2019-11-26 14:40:07 +09:00 committed by Andrew Tridgell
parent a34350f2cc
commit fdf0aa223e
1 changed files with 1 additions and 3 deletions

View File

@ -60,9 +60,7 @@ void Tracker::init_tracker()
#endif #endif
#ifdef ENABLE_SCRIPTING #ifdef ENABLE_SCRIPTING
if (!scripting.init()) { scripting.init();
gcs().send_text(MAV_SEVERITY_ERROR, "Scripting failed to start");
}
#endif // ENABLE_SCRIPTING #endif // ENABLE_SCRIPTING
// initialise compass // initialise compass