Commit 69cc6a4
committed
Bluetooth: BAP: Fix CONFIG_BT_BAP_BASS_MAX_SUBGROUPS include issue
There were a few cases where CONFIG_BT_BAP_BASS_MAX_SUBGROUPS was
used in structs in the public header files. Unfortunately using
a Kconfig for an array size will cause include issues if the
file is included without the Kconfig being available.
For now add and use a new #define value that will be 0 if
CONFIG_BT_BAP_BASS_MAX_SUBGROUPS is not defined.
Signed-off-by: Emil Gydesen <[email protected]>1 parent 91a59e7 commit 69cc6a4
2 files changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
582 | 588 | | |
583 | 589 | | |
584 | 590 | | |
585 | | - | |
| 591 | + | |
586 | 592 | | |
587 | 593 | | |
588 | 594 | | |
| |||
676 | 682 | | |
677 | 683 | | |
678 | 684 | | |
679 | | - | |
| 685 | + | |
680 | 686 | | |
681 | 687 | | |
682 | 688 | | |
| |||
2377 | 2383 | | |
2378 | 2384 | | |
2379 | 2385 | | |
2380 | | - | |
2381 | | - | |
2382 | | - | |
| 2386 | + | |
| 2387 | + | |
2383 | 2388 | | |
2384 | 2389 | | |
2385 | 2390 | | |
| |||
2399 | 2404 | | |
2400 | 2405 | | |
2401 | 2406 | | |
2402 | | - | |
| 2407 | + | |
2403 | 2408 | | |
2404 | 2409 | | |
2405 | 2410 | | |
| |||
2437 | 2442 | | |
2438 | 2443 | | |
2439 | 2444 | | |
2440 | | - | |
| 2445 | + | |
2441 | 2446 | | |
2442 | 2447 | | |
2443 | 2448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
| 921 | + | |
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
| |||
0 commit comments