Commit 38d2e694 authored by Dean Camera's avatar Dean Camera
Browse files

Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and...

Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI Device Class demos.
parent 95079868
...@@ -184,8 +184,6 @@ void EVENT_USB_Device_ConfigurationChanged(void) ...@@ -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);
} }
......
...@@ -114,8 +114,6 @@ void EVENT_USB_Device_ConfigurationChanged(void) ...@@ -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);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment