Skip to content

Commit dc9bc8f

Browse files
committed
Fix flexible array declaration
1 parent 9f9ab44 commit dc9bc8f

File tree

1 file changed

+1
-1
lines changed
  • devices/ble_hci/common-hal/_bleio

1 file changed

+1
-1
lines changed

devices/ble_hci/common-hal/_bleio/att.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ STATIC struct {
6161
typedef struct __packed {
6262
uint8_t properties;
6363
uint16_t value_handle;
64-
uint8_t uuid[0]; // 2 or 16 bytes
64+
uint8_t uuid[]; // 2 or 16 bytes
6565
} characteristic_declaration_t;
6666

6767
STATIC uint8_t bleio_properties_to_ble_spec_properties(uint8_t bleio_properties) {

0 commit comments

Comments
 (0)