Skip to content

Commit 277d0c1

Browse files
Thalleykartben
authored andcommitted
tests: Bluetooth: CAP: Fix typo STREMT -> STREAM
Fixed a typo in the term "stream". Signed-off-by: Emil Gydesen <[email protected]>
1 parent 240749c commit 277d0c1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/bsim/bluetooth/audio/src/cap_initiator_broadcast_test.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CREATE_FLAG(flag_source_started);
4040
#define CAP_AC_MAX_STREAM 2
4141
#define LOCATION (BT_AUDIO_LOCATION_FRONT_LEFT | BT_AUDIO_LOCATION_FRONT_RIGHT)
4242
#define CONTEXT (BT_AUDIO_CONTEXT_TYPE_MEDIA)
43-
#define BROADCAST_STREMT_CNT MIN(CAP_AC_MAX_STREAM, CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT)
43+
#define BROADCAST_STREAM_CNT MIN(CAP_AC_MAX_STREAM, CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT)
4444

4545
struct cap_initiator_ac_param {
4646
char *name;
@@ -51,7 +51,7 @@ struct cap_initiator_ac_param {
5151
static const struct named_lc3_preset *named_preset;
5252

5353
extern enum bst_result_t bst_result;
54-
static struct audio_test_stream broadcast_source_streams[BROADCAST_STREMT_CNT];
54+
static struct audio_test_stream broadcast_source_streams[BROADCAST_STREAM_CNT];
5555
static struct bt_cap_stream *broadcast_streams[ARRAY_SIZE(broadcast_source_streams)];
5656
static struct bt_bap_lc3_preset broadcast_preset_16_2_1 =
5757
BT_BAP_LC3_BROADCAST_PRESET_16_2_1(LOCATION, CONTEXT);
@@ -886,7 +886,7 @@ static void test_cap_initiator_ac_12(void)
886886
test_cap_initiator_ac(&param);
887887
}
888888

889-
#if BROADCAST_STREMT_CNT >= CAP_AC_MAX_STREAM
889+
#if BROADCAST_STREAM_CNT >= CAP_AC_MAX_STREAM
890890
static void test_cap_initiator_ac_13(void)
891891
{
892892
const struct cap_initiator_ac_param param = {
@@ -898,7 +898,7 @@ static void test_cap_initiator_ac_13(void)
898898

899899
test_cap_initiator_ac(&param);
900900
}
901-
#endif /* BROADCAST_STREMT_CNT >= CAP_AC_MAX_STREAM */
901+
#endif /* BROADCAST_STREAM_CNT >= CAP_AC_MAX_STREAM */
902902

903903
static void test_cap_initiator_ac_14(void)
904904
{
@@ -967,15 +967,15 @@ static const struct bst_test_instance test_cap_initiator_broadcast[] = {
967967
.test_main_f = test_cap_initiator_ac_12,
968968
.test_args_f = test_args,
969969
},
970-
#if BROADCAST_STREMT_CNT >= CAP_AC_MAX_STREAM
970+
#if BROADCAST_STREAM_CNT >= CAP_AC_MAX_STREAM
971971
{
972972
.test_id = "cap_initiator_ac_13",
973973
.test_pre_init_f = test_init,
974974
.test_tick_f = test_tick,
975975
.test_main_f = test_cap_initiator_ac_13,
976976
.test_args_f = test_args,
977977
},
978-
#endif /* BROADCAST_STREMT_CNT >= CAP_AC_MAX_STREAM */
978+
#endif /* BROADCAST_STREAM_CNT >= CAP_AC_MAX_STREAM */
979979
{
980980
.test_id = "cap_initiator_ac_14",
981981
.test_pre_init_f = test_init,

0 commit comments

Comments
 (0)