Fix a few more incorrectly ordered endpoint initialisations in the device demos.

This commit is contained in:
Dean Camera 2010-12-17 20:26:14 +00:00
parent 0381399f66
commit a57287a59f
5 changed files with 11 additions and 11 deletions

View file

@ -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);
}