Browse Source

Copter: added PLAY_TUNE message

master
Andrew Tridgell 9 years ago
parent
commit
e943a48eba
  1. 5
      ArduCopter/GCS_Mavlink.cpp

5
ArduCopter/GCS_Mavlink.cpp

@ -2064,6 +2064,11 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg) @@ -2064,6 +2064,11 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
AP_Notify::handle_led_control(msg);
break;
case MAVLINK_MSG_ID_PLAY_TUNE:
// send message to Notify
AP_Notify::handle_play_tune(msg);
break;
case MAVLINK_MSG_ID_SET_HOME_POSITION:
{
mavlink_set_home_position_t packet;

Loading…
Cancel
Save