*fix flexible array member declaration

This commit is contained in:
moonglow 2021-01-11 14:40:54 +03:00
parent 34e9b9298d
commit 95646306f1
1 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ struct ucan_rx_msg {
uint8_t client;
uint16_t flags;
uint32_t can_id;
uint8_t d[0];
uint8_t d[];
}__attribute__((packed));
/* uCAN error types */
@ -294,7 +294,7 @@ struct ucan_tx_msg {
uint8_t client;
uint16_t flags;
uint32_t can_id;
uint8_t d[0];
uint8_t d[];
}__attribute__((packed));
/* uCAN Tx Pause record */