Tracker: scripting init sends failure message

This commit is contained in:
Randy Mackay 2019-11-26 14:40:07 +09:00
parent 8cb2631c14
commit 24f6aee93c
1 changed files with 1 additions and 3 deletions

View File

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