avrcp_controller: fix compile

This commit is contained in:
Milanka Ringwald 2021-10-26 18:09:10 +02:00
parent a9904214bd
commit 1d3f7785eb

View File

@ -1386,7 +1386,7 @@ uint8_t avrcp_controller_disable_notification(uint16_t avrcp_cid, avrcp_notifica
return ERROR_CODE_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE;
}
if (connection->notifications_enabled & (1 << event_id) == 0){
if ((connection->notifications_enabled & (1 << event_id)) == 0){
return ERROR_CODE_SUCCESS;
}