Skip to content

Commit

Permalink
nimble/services: Fix incorrect PACS characteristic notification
Browse files Browse the repository at this point in the history
This commit provides fix for incorrect  PACS characteristic sending notification
after changing it's state.
  • Loading branch information
szymon-czapracki committed Apr 10, 2024
1 parent c433982 commit 40b6c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/host/audio/services/pacs/src/ble_audio_svc_pacs.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ ble_svc_audio_pacs_set(uint8_t flags, struct ble_svc_audio_pacs_set_param *param
if (flags & BLE_AUDIO_CODEC_DIR_SINK_BIT) {
ble_svc_audio_pacs_sink_audio_locations = param->audio_locations;
ble_svc_audio_pacs_sup_sink_contexts = param->supported_contexts;
rc = pac_notify(BLE_SVC_AUDIO_PACS_CHR_UUID16_SOURCE_AUDIO_LOCATIONS);
rc = pac_notify(BLE_SVC_AUDIO_PACS_CHR_UUID16_SINK_AUDIO_LOCATIONS);
if (rc != 0) {
return rc;
}
Expand Down

0 comments on commit 40b6c29

Please sign in to comment.