forked from mfulz_github/qmk_firmware
Remove unneccesary call to USB_Device_EnableSOFEvents() in the MassStorage and MIDI Device Class demos.
This commit is contained in:
parent
95079868bb
commit
38d2e694ef
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue