Fix a few more incorrectly ordered endpoint initialisations in the device demos.
This commit is contained in:
parent
0381399f66
commit
a57287a59f
5 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue