diff options
| author | sakumisu <[email protected]> | 2022-09-25 17:55:35 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-09-25 17:55:35 +0800 |
| commit | b7563385dabec467782d004d404b9a776dbd7b1b (patch) | |
| tree | 29ee80c70550da8c85a6d75e5eb9cc5641267ada | |
| parent | 48c6079c71ac7c9f64332885d02a0cc4cd37d5fb (diff) | |
fix gcc extension warning
| -rw-r--r-- | common/usb_hc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_hc.h b/common/usb_hc.h index 51a66e0a..9a2d4cd1 100644 --- a/common/usb_hc.h +++ b/common/usb_hc.h @@ -58,7 +58,7 @@ struct usbh_urb { uint32_t num_of_iso_packets; usbh_complete_callback_t complete; void *arg; - struct usbh_iso_frame_packet iso_packet[]; + struct usbh_iso_frame_packet iso_packet[0]; }; /** |
