mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Copter: scripting init sends failure message
This commit is contained in:
parent
0dcf802ea9
commit
36fdad4e61
@ -232,9 +232,7 @@ void Copter::init_ardupilot()
|
||||
startup_INS_ground();
|
||||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
if (!g2.scripting.init()) {
|
||||
gcs().send_text(MAV_SEVERITY_ERROR, "Scripting failed to start");
|
||||
}
|
||||
g2.scripting.init();
|
||||
#endif // ENABLE_SCRIPTING
|
||||
|
||||
// set landed flags
|
||||
|
Loading…
Reference in New Issue
Block a user