diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-21 08:21:17 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-21 08:21:17 +0000 |
commit | 38d2e694ef878aadb10220a9e72e56d2bf27927c (patch) | |
tree | f9e10fbe5a34fdb5df57116a95cbb8dfebca30b8 /Demos | |
parent | 95079868bb7a8ba8fa3157bdc6d546772a51aa79 (diff) | |
download | lufa-38d2e694ef878aadb10220a9e72e56d2bf27927c.tar.gz lufa-38d2e694ef878aadb10220a9e72e56d2bf27927c.tar.bz2 lufa-38d2e694ef878aadb10220a9e72e56d2bf27927c.zip |
Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI Device Class demos.
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/Device/ClassDriver/MIDI/MIDI.c | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/MassStorage/MassStorage.c | 2 |
2 files changed, 0 insertions, 4 deletions
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); } |