Fix a few more incorrectly ordered endpoint initialisations in the device demos.
This commit is contained in:
1 parent
0381399f66
commit
a57287a59f
5 files changed
+11
-11
No files matched your search
@@ -239,8 +239,8 @@ void EVENT_USB_Device_ConfigurationChanged(void)
|
||||
{
|
||||
bool ConfigSuccess = true;
|
||||
|
||||
ConfigSuccess &= MS_Device_ConfigureEndpoints(&Disk_MS_Interface);
|
||||
ConfigSuccess &= HID_Device_ConfigureEndpoints(&Generic_HID_Interface);
|
||||
ConfigSuccess &= MS_Device_ConfigureEndpoints(&Disk_MS_Interface);
|
||||
|
||||
LEDs_SetAllLEDs(ConfigSuccess ? LEDMASK_USB_READY : LEDMASK_USB_ERROR);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user