From b7563385dabec467782d004d404b9a776dbd7b1b Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Sun, 25 Sep 2022 17:55:35 +0800 Subject: fix gcc extension warning --- common/usb_hc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }; /** -- cgit v1.3.1