mirror of https://github.com/ArduPilot/ardupilot
AP_Mission: ensure ENABLE_SCRIPTING is always defined
This commit is contained in:
parent
39a4f0b3b2
commit
6fef352b8f
|
@ -190,7 +190,7 @@ bool AP_Mission::start_command_do_sprayer(const AP_Mission::Mission_Command& cmd
|
|||
|
||||
bool AP_Mission::start_command_do_scripting(const AP_Mission::Mission_Command& cmd)
|
||||
{
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#if ENABLE_SCRIPTING
|
||||
AP_Scripting *scripting = AP_Scripting::get_singleton();
|
||||
if (scripting == nullptr) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue