Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.
This commit is contained in:
parent
513db46548
commit
0407b92584
2 changed files with 10 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue