Replace CDC interface numbers with enums.

This commit is contained in:
László Monda 2013-10-10 00:32:35 +02:00
parent ab238601b9
commit 352152c664
25 changed files with 233 additions and 233 deletions

View file

@ -108,13 +108,13 @@ void SetupHardware()
/** Event handler for the library USB Connection event. */
void EVENT_USB_Device_Connect(void)
{
LEDs_SetAllLEDs(LEDMASK_USB_ENUMERATING);
LEDs_SetAllLEDs(LEDMASK_USB_ENUMERATING);
}
/** Event handler for the library USB Disconnection event. */
void EVENT_USB_Device_Disconnect(void)
{
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
}
/** Event handler for the library USB Configuration Changed event. */