mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
GCS_MAVLink: ensure ENABLE_SCRIPTING is always defined
This commit is contained in:
parent
c090ddc65c
commit
fd128066ad
@ -4609,7 +4609,7 @@ MAV_RESULT GCS_MAVLINK::handle_command_int_packet(const mavlink_command_int_t &p
|
|||||||
return handle_command_do_set_roi_sysid(packet);
|
return handle_command_do_set_roi_sysid(packet);
|
||||||
case MAV_CMD_DO_SET_HOME:
|
case MAV_CMD_DO_SET_HOME:
|
||||||
return handle_command_int_do_set_home(packet);
|
return handle_command_int_do_set_home(packet);
|
||||||
#ifdef ENABLE_SCRIPTING
|
#if ENABLE_SCRIPTING
|
||||||
case MAV_CMD_SCRIPTING:
|
case MAV_CMD_SCRIPTING:
|
||||||
{
|
{
|
||||||
AP_Scripting *scripting = AP_Scripting::get_singleton();
|
AP_Scripting *scripting = AP_Scripting::get_singleton();
|
||||||
|
Loading…
Reference in New Issue
Block a user