mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 14:42:33 +00:00
avrcp_controller: return on wrong response type
This commit is contained in:
parent
eebb600bb8
commit
66ec160393
@ -770,10 +770,7 @@ static void avrcp_controller_handle_notification(avrcp_connection_t *connection,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
connection->notifications_to_register &= reset_event_mask;
|
return;
|
||||||
connection->notifications_enabled &= reset_event_mask;
|
|
||||||
connection->notifications_to_deregister &= reset_event_mask;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
avrcp_controller_emit_notification_for_event_id(connection->avrcp_cid, event_id, ctype, payload + pos, size - pos);
|
avrcp_controller_emit_notification_for_event_id(connection->avrcp_cid, event_id, ctype, payload + pos, size - pos);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user