]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/protocol/lufa/lufa.c
ibmpc: Fix XT reset comment and add inhibit_xt()
[max/tmk_keyboard.git] / tmk_core / protocol / lufa / lufa.c
index c194368ffaa1f444f584d346766fa5f6aeef2226..54221591b388b3729077b68ac23cabe6b624ae7e 100644 (file)
@@ -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));