File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
tests/bluetooth/bsim_bt/bsim_test_audio/src Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -336,11 +336,11 @@ static size_t release_streams(size_t stream_cnt)
336
336
}
337
337
338
338
339
- static void create_unicast_group (struct bt_audio_unicast_group * * unicast_group ,
340
- size_t stream_cnt )
339
+ static void create_unicast_group (struct bt_audio_unicast_group * * unicast_group )
341
340
{
342
- struct bt_audio_unicast_group_stream_pair_param pair_params [ARRAY_SIZE (g_streams )];
343
- struct bt_audio_unicast_group_stream_param stream_params [ARRAY_SIZE (g_streams )];
341
+ const size_t stream_cnt = ARRAY_SIZE (g_streams );
342
+ struct bt_audio_unicast_group_stream_pair_param pair_params [stream_cnt ];
343
+ struct bt_audio_unicast_group_stream_param stream_params [stream_cnt ];
344
344
struct bt_audio_unicast_group_param param ;
345
345
346
346
for (size_t i = 0U ; i < stream_cnt ; i ++ ) {
@@ -400,12 +400,12 @@ static void test_main(void)
400
400
for (unsigned int i = 0U ; i < iterations ; i ++ ) {
401
401
printk ("\n########### Running iteration #%u\n\n" , i );
402
402
403
+ printk ("Creating unicast group\n" );
404
+ create_unicast_group (& unicast_group );
405
+
403
406
printk ("Configuring streams\n" );
404
407
stream_cnt = configure_streams ();
405
408
406
- printk ("Creating unicast group\n" );
407
- create_unicast_group (& unicast_group , stream_cnt );
408
-
409
409
/* TODO: When babblesim supports ISO setup Audio streams */
410
410
411
411
release_streams (stream_cnt );
You can’t perform that action at this time.
0 commit comments