File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
subsys/bluetooth/controller/ll_sw/openisa/lll Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
6
6
7
+ #include <zephyr/sys/util.h>
8
+
7
9
/* Minimum vendor specific Rx payload buffer allocation */
8
10
#define LL_VND_OCTETS_RX_MIN 0
9
11
10
12
/* No vendor Data PDU struct octet3 */
11
13
struct pdu_data_vnd_octet3 {
12
- union {
13
- uint8_t resv [0 ];
14
- } __packed ;
14
+ FLEXIBLE_ARRAY_DECLARE (uint8_t , resv );
15
15
} __packed ;
16
16
17
17
/* No vendor BIS PDU struct octet3 */
18
18
struct pdu_bis_vnd_octet3 {
19
- union {
20
- uint8_t resv [0 ];
21
- } __packed ;
19
+ FLEXIBLE_ARRAY_DECLARE (uint8_t , resv );
22
20
} __packed ;
23
21
24
22
/* No vendor CIS PDU struct octet3 */
25
23
struct pdu_cis_vnd_octet3 {
26
- union {
27
- uint8_t resv [0 ];
28
- } __packed ;
24
+ FLEXIBLE_ARRAY_DECLARE (uint8_t , resv );
29
25
} __packed ;
30
26
31
27
/* No ISOAL helper vendor ISO PDU struct octet3 */
32
28
struct pdu_iso_vnd_octet3 {
33
- union {
34
- uint8_t resv [0 ];
35
- } __packed ;
29
+ FLEXIBLE_ARRAY_DECLARE (uint8_t , resv );
36
30
} __packed ;
You can’t perform that action at this time.
0 commit comments