diff options
| author | Dean Camera <dean@fourwalledcubicle.com> | 2011-04-23 03:50:13 +0000 | 
|---|---|---|
| committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-04-23 03:50:13 +0000 | 
| commit | 0407b92584ead02122f5273fde380dd8a272e83c (patch) | |
| tree | ba6f6efc12de94994394606ed9601c93eebdb6fb /Bootloaders/CDC/BootloaderCDC.c | |
| parent | 513db46548c4757d912d158d0e261520c9ee608c (diff) | |
| download | lufa-0407b92584ead02122f5273fde380dd8a272e83c.tar.gz lufa-0407b92584ead02122f5273fde380dd8a272e83c.tar.bz2 lufa-0407b92584ead02122f5273fde380dd8a272e83c.zip  | |
Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.
Diffstat (limited to 'Bootloaders/CDC/BootloaderCDC.c')
| -rw-r--r-- | Bootloaders/CDC/BootloaderCDC.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index ba0a629bc..7695e33d8 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -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)  	{  | 
