Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user