Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI...
authorDean Camera <dean@fourwalledcubicle.com>
Sat, 21 Aug 2010 08:21:17 +0000 (08:21 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sat, 21 Aug 2010 08:21:17 +0000 (08:21 +0000)
Demos/Device/ClassDriver/MIDI/MIDI.c
Demos/Device/ClassDriver/MassStorage/MassStorage.c

index f627d55..bfeeaa3 100644 (file)
@@ -184,8 +184,6 @@ void EVENT_USB_Device_ConfigurationChanged(void)
 
        ConfigSuccess &= MIDI_Device_ConfigureEndpoints(&Keyboard_MIDI_Interface);
 
 
        ConfigSuccess &= MIDI_Device_ConfigureEndpoints(&Keyboard_MIDI_Interface);
 
-       USB_Device_EnableSOFEvents();
-
        LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR);
 }
 
        LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR);
 }
 
index a8f21f1..94f9f84 100644 (file)
@@ -114,8 +114,6 @@ void EVENT_USB_Device_ConfigurationChanged(void)
 
        ConfigSuccess &= MS_Device_ConfigureEndpoints(&Disk_MS_Interface);
 
 
        ConfigSuccess &= MS_Device_ConfigureEndpoints(&Disk_MS_Interface);
 
-       USB_Device_EnableSOFEvents();
-
        LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR);
 }
 
        LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR);
 }