mirror of https://github.com/rusefi/pcan_pro_x.git
*fix flexible array member declaration
This commit is contained in:
parent
34e9b9298d
commit
95646306f1
|
@ -227,7 +227,7 @@ struct ucan_rx_msg {
|
||||||
uint8_t client;
|
uint8_t client;
|
||||||
uint16_t flags;
|
uint16_t flags;
|
||||||
uint32_t can_id;
|
uint32_t can_id;
|
||||||
uint8_t d[0];
|
uint8_t d[];
|
||||||
}__attribute__((packed));
|
}__attribute__((packed));
|
||||||
|
|
||||||
/* uCAN error types */
|
/* uCAN error types */
|
||||||
|
@ -294,7 +294,7 @@ struct ucan_tx_msg {
|
||||||
uint8_t client;
|
uint8_t client;
|
||||||
uint16_t flags;
|
uint16_t flags;
|
||||||
uint32_t can_id;
|
uint32_t can_id;
|
||||||
uint8_t d[0];
|
uint8_t d[];
|
||||||
}__attribute__((packed));
|
}__attribute__((packed));
|
||||||
|
|
||||||
/* uCAN Tx Pause record */
|
/* uCAN Tx Pause record */
|
||||||
|
|
Loading…
Reference in New Issue