The interrupt takes 3us every 1ms and can prevent
signal handling of ibmpc converter.
if (!USB_IsInitialized) {
USB_Disable();
USB_Init();
- USB_Device_EnableSOFEvents();
}
}
hook_usb_wakeup();
}
-// called every 1ms
-void EVENT_USB_Device_StartOfFrame(void)
-{
-}
-
/** Event handler for the USB_ConfigurationChanged event.
* This is fired when the host sets the current configuration of the USB device after enumeration.
*
USB_Disable();
USB_Init();
-
- USB_Device_EnableSOFEvents();
}
int main(void) __attribute__ ((weak));