Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.

This commit is contained in:
Dean Camera 2011-04-23 03:50:13 +00:00
parent 513db46548
commit 0407b92584
2 changed files with 10 additions and 4 deletions

View file

@ -148,6 +148,9 @@ void EVENT_USB_Device_ControlRequest(void)
return;
}
/* Activity - toggle indicator LEDs */
LEDs_ToggleLEDs(LEDS_LED1 | LEDS_LED2);
/* Process CDC specific control requests */
switch (USB_ControlRequest.bRequest)
{