Skip to content

Commit 53b9113

Browse files
hakanjanssonnashif
authored andcommitted
samples: bluetooth: Fix PAwR response slot calculation
Fix the calculation of the response slot that is assigned to the temporarily connected responding device. Signed-off-by: Hakan Jansson <[email protected]>
1 parent c487259 commit 53b9113

File tree

1 file changed

+1
-1
lines changed
  • samples/bluetooth/periodic_adv_rsp/src

1 file changed

+1
-1
lines changed

samples/bluetooth/periodic_adv_rsp/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ int main(void)
336336
}
337337

338338
sync_config.subevent = num_synced % NUM_SUBEVENTS;
339-
sync_config.response_slot = num_synced / NUM_RSP_SLOTS;
339+
sync_config.response_slot = num_synced / NUM_SUBEVENTS;
340340
num_synced++;
341341

342342
write_params.func = write_func;

0 commit comments

Comments
 (0)