Browse Source

Rover: added PLAY_TUNE and LED_CONTROL

mission-4.1.18
Andrew Tridgell 9 years ago
parent
commit
c3d39e9906
  1. 10
      APMrover2/GCS_Mavlink.cpp

10
APMrover2/GCS_Mavlink.cpp

@ -1391,6 +1391,16 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg) @@ -1391,6 +1391,16 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
case MAVLINK_MSG_ID_SETUP_SIGNING:
handle_setup_signing(msg);
break;
case MAVLINK_MSG_ID_LED_CONTROL:
// send message to Notify
AP_Notify::handle_led_control(msg);
break;
case MAVLINK_MSG_ID_PLAY_TUNE:
// send message to Notify
AP_Notify::handle_play_tune(msg);
break;
} // end switch
} // end handle mavlink

Loading…
Cancel
Save