mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
GCS_MAVLink: move play_tune and led_control handling to base class
This commit is contained in:
parent
f4eed2a710
commit
4dd659cda7
@ -1914,6 +1914,14 @@ void GCS_MAVLINK::handle_common_message(mavlink_message_t *msg)
|
|||||||
case MAVLINK_MSG_ID_TIMESYNC:
|
case MAVLINK_MSG_ID_TIMESYNC:
|
||||||
handle_timesync(msg);
|
handle_timesync(msg);
|
||||||
break;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user