File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,6 @@ void EVENT_USB_Device_Connect(void)
272272 if (!USB_IsInitialized ) {
273273 USB_Disable ();
274274 USB_Init ();
275- USB_Device_EnableSOFEvents ();
276275 }
277276}
278277
@@ -315,11 +314,6 @@ void EVENT_USB_Device_WakeUp()
315314 hook_usb_wakeup ();
316315}
317316
318- // called every 1ms
319- void EVENT_USB_Device_StartOfFrame (void )
320- {
321- }
322-
323317/** Event handler for the USB_ConfigurationChanged event.
324318 * This is fired when the host sets the current configuration of the USB device after enumeration.
325319 *
@@ -663,8 +657,6 @@ static void setup_usb(void)
663657 USB_Disable ();
664658
665659 USB_Init ();
666-
667- USB_Device_EnableSOFEvents ();
668660}
669661
670662int main (void ) __attribute__ ((weak ));
You can’t perform that action at this time.
0 commit comments