Browse Source

fix gcc extension warning

sakumisu 3 years ago
parent
commit
b7563385da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/usb_hc.h

+ 1 - 1
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];
 };
 
 /**