Skip to content

Commit 742fb0d

Browse files
authored
Update main.c
made changes to make the changes comply with the writing guidelines. Signed-off-by: Frederik Bredtoft Boel Jepsen fjepse22@student.aau.dk
1 parent 144107b commit 742fb0d

File tree

1 file changed

+4
-2
lines changed
  • samples/bluetooth/bap_broadcast_source/src

1 file changed

+4
-2
lines changed

samples/bluetooth/bap_broadcast_source/src/main.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,12 @@ static void send_data(struct broadcast_source_stream *source_stream)
253253
if ((source_stream->sent_cnt % 1000U) == 0U) {
254254

255255
/* Only info.broadcaster.bis_number.
256-
BIS_number should be saved to struct so there is no need to call bt_iso_chan_get_info to save this call
257-
if the info.broadcaster.bis_number is saved to the broadcast_source_stream then the bt_iso_chan_get_info() whould only need to be called once.
256+
*BIS_number should be saved to struct, so there is no need to call bt_iso_chan_get_info to save this call.
257+
*if the info.broadcaster.bis_number is saved to the broadcast_source_stream
258+
*then the bt_iso_chan_get_info() whould only need to be called once.
258259
*/
259260
struct bt_iso_info info;
261+
260262
bt_iso_chan_get_info(stream->iso, &info);
261263

262264
printk("Stream %p: BIS_Number %u Sent %u total ISO packets\n", stream,info.broadcaster.bis_number, source_stream->sent_cnt);

0 commit comments

Comments
 (0)