mirror of https://github.com/ArduPilot/ardupilot
Tracker: scripting init sends failure message
This commit is contained in:
parent
a34350f2cc
commit
fdf0aa223e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue