From: Dean Camera Date: Sat, 21 Aug 2010 08:21:17 +0000 (+0000) Subject: Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI... X-Git-Tag: LUFA-110528-BETA~282 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/38d2e694ef878aadb10220a9e72e56d2bf27927c?ds=inline Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI Device Class demos. --- diff --git a/Demos/Device/ClassDriver/MIDI/MIDI.c b/Demos/Device/ClassDriver/MIDI/MIDI.c index f627d55be..bfeeaa38e 100644 --- a/Demos/Device/ClassDriver/MIDI/MIDI.c +++ b/Demos/Device/ClassDriver/MIDI/MIDI.c @@ -184,8 +184,6 @@ void EVENT_USB_Device_ConfigurationChanged(void) ConfigSuccess &= MIDI_Device_ConfigureEndpoints(&Keyboard_MIDI_Interface); - USB_Device_EnableSOFEvents(); - LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR); } diff --git a/Demos/Device/ClassDriver/MassStorage/MassStorage.c b/Demos/Device/ClassDriver/MassStorage/MassStorage.c index a8f21f173..94f9f8415 100644 --- a/Demos/Device/ClassDriver/MassStorage/MassStorage.c +++ b/Demos/Device/ClassDriver/MassStorage/MassStorage.c @@ -114,8 +114,6 @@ void EVENT_USB_Device_ConfigurationChanged(void) ConfigSuccess &= MS_Device_ConfigureEndpoints(&Disk_MS_Interface); - USB_Device_EnableSOFEvents(); - LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR); }