mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
avrcp_controller: remove duplicate check
This commit is contained in:
parent
737e7617e7
commit
3fbe4e46dc
@ -680,10 +680,6 @@ static uint8_t avrcp_controller_register_notification(avrcp_connection_t * conne
|
||||
if ( (connection->notifications_enabled & (1 << event_id)) != 0){
|
||||
return ERROR_CODE_SUCCESS;
|
||||
}
|
||||
if ( (connection->notifications_to_register & (1 << event_id)) != 0){
|
||||
return ERROR_CODE_SUCCESS;
|
||||
}
|
||||
|
||||
connection->notifications_to_register |= (1 << event_id);
|
||||
|
||||
if (!connection->remote_supported_notifications_queried){
|
||||
|
Loading…
x
Reference in New Issue
Block a user