Skip to content

Commit

Permalink
samples: bluetooth: central_iso: replace magic numbers
Browse files Browse the repository at this point in the history
The change replaces magic numbers in the ISO CIG configuration by
preprocessor definitions.

Signed-off-by: Florian Grandel <[email protected]>
  • Loading branch information
Florian Grandel committed May 11, 2024
1 parent 3b13133 commit 446abf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/bluetooth/central_iso/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ int main(void)
param.cis_channels = channels;
param.num_cis = ARRAY_SIZE(channels);
param.sca = BT_GAP_SCA_UNKNOWN;
param.packing = 0;
param.framing = 0;
param.packing = BT_ISO_PACKING_SEQUENTIAL;
param.framing = BT_ISO_FRAMING_UNFRAMED;
param.c_to_p_latency = latency_ms; /* ms */
param.p_to_c_latency = latency_ms; /* ms */
param.c_to_p_interval = interval_us; /* us */
Expand Down

0 comments on commit 446abf2

Please sign in to comment.