lufa: Disable SOF interrupt
The interrupt takes 3us every 1ms and can prevent signal handling of ibmpc converter.
This commit is contained in:
parent
4df25c2618
commit
ab16474335
1 changed files with 0 additions and 8 deletions
|
|
@ -272,7 +272,6 @@ void EVENT_USB_Device_Connect(void)
|
|||
if (!USB_IsInitialized) {
|
||||
USB_Disable();
|
||||
USB_Init();
|
||||
USB_Device_EnableSOFEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -315,11 +314,6 @@ void EVENT_USB_Device_WakeUp()
|
|||
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.
|
||||
*
|
||||
|
|
@ -663,8 +657,6 @@ static void setup_usb(void)
|
|||
USB_Disable();
|
||||
|
||||
USB_Init();
|
||||
|
||||
USB_Device_EnableSOFEvents();
|
||||
}
|
||||
|
||||
int main(void) __attribute__ ((weak));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue