Browse Source

GCS_MAVLink: ensure ENABLE_SCRIPTING is always defined

gps-1.3.1
Peter Barker 3 years ago committed by Peter Barker
parent
commit
fd128066ad
  1. 2
      libraries/GCS_MAVLink/GCS_Common.cpp

2
libraries/GCS_MAVLink/GCS_Common.cpp

@ -4609,7 +4609,7 @@ MAV_RESULT GCS_MAVLINK::handle_command_int_packet(const mavlink_command_int_t &p @@ -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);
case MAV_CMD_DO_SET_HOME:
return handle_command_int_do_set_home(packet);
#ifdef ENABLE_SCRIPTING
#if ENABLE_SCRIPTING
case MAV_CMD_SCRIPTING:
{
AP_Scripting *scripting = AP_Scripting::get_singleton();

Loading…
Cancel
Save