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 <hakan.jansson@infineon.com>
This commit is contained in:
Hakan Jansson 2024-08-20 13:56:52 +02:00 committed by Anas Nashif
parent c487259241
commit 53b91138fb

View file

@ -336,7 +336,7 @@ int main(void)
}
sync_config.subevent = num_synced % NUM_SUBEVENTS;
sync_config.response_slot = num_synced / NUM_RSP_SLOTS;
sync_config.response_slot = num_synced / NUM_SUBEVENTS;
num_synced++;
write_params.func = write_func;