X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fprotocol%2Flufa%2Flufa.c;h=54221591b388b3729077b68ac23cabe6b624ae7e;hb=2b74203bd7ed7bec3cdf779a5752eb7495de4e02;hp=c194368ffaa1f444f584d346766fa5f6aeef2226;hpb=6209ceebfb38c394ccf7168be39f3062b5a776db;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index c194368f..54221591 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c @@ -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));