Tracker: scripting init sends failure message

This commit is contained in:
Randy Mackay 2019-11-26 14:40:07 +09:00
parent c78112564c
commit 3502f5d449
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