Rename internal suspend and wake up USB interrupt macros so that they follow the same naming scheme as the other USB ISR macros.
This commit is contained in:
parent
d66a925786
commit
ed7067e89f
5 changed files with 14 additions and 18 deletions
|
@ -62,14 +62,12 @@ USB_ClassInfo_HID_Device_t Mouse_HID_Device_Interface =
|
|||
/** Event handler for the library USB WakeUp event. */
|
||||
void EVENT_USB_Device_Connect(void)
|
||||
{
|
||||
puts_P(PSTR("Device Connected.\r\n"));
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ENUMERATING);
|
||||
}
|
||||
|
||||
/** Event handler for the library USB Suspend event. */
|
||||
void EVENT_USB_Device_Disconnect(void)
|
||||
{
|
||||
puts_P(PSTR("Device Disconnected.\r\n"));
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue