mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-05 21:59:45 +00:00
avrcp: use play_status in AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED as it is the same as in AVRCP_SUBEVENT_PLAY_STATUS
This commit is contained in:
parent
6aecb8a4f3
commit
8ef2e44b9b
@ -129,7 +129,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
||||
printf("AVRCP: command status: %s, ", avrcp_ctype2str(status));
|
||||
switch (packet[2]){
|
||||
case AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED:
|
||||
printf("notification, playback status changed %s\n", avrcp_play_status2str(avrcp_subevent_notification_playback_status_changed_get_playback_status(packet)));
|
||||
printf("notification, playback status changed %s\n", avrcp_play_status2str(avrcp_subevent_notification_playback_status_changed_get_play_status(packet)));
|
||||
return;
|
||||
case AVRCP_SUBEVENT_NOTIFICATION_NOW_PLAYING_CONTENT_CHANGED:
|
||||
printf("notification, playing content changed\n");
|
||||
|
Loading…
Reference in New Issue
Block a user