diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-03 10:53:47 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-01-03 10:53:47 +0000 |
commit | 2608fd1dd48096c1867676de337767ff3fb1a951 (patch) | |
tree | cca01486688aaa7dfa9426a0afdf23f0834f5c87 /Demos/Device/LowLevel/GenericHID | |
parent | 7d037c7db812be4dac1a742c990f3631fbd82cb5 (diff) | |
download | lufa-2608fd1dd48096c1867676de337767ff3fb1a951.tar.gz lufa-2608fd1dd48096c1867676de337767ff3fb1a951.tar.bz2 lufa-2608fd1dd48096c1867676de337767ff3fb1a951.zip |
Fixed hardware race condition that could cause failed device enumerations for AVR8 and UC3 architectures (thanks to Mike Beyhs).
Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen).
Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
Diffstat (limited to 'Demos/Device/LowLevel/GenericHID')
-rw-r--r-- | Demos/Device/LowLevel/GenericHID/GenericHID.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Device/LowLevel/GenericHID/GenericHID.c b/Demos/Device/LowLevel/GenericHID/GenericHID.c index e74daff01..beaad0318 100644 --- a/Demos/Device/LowLevel/GenericHID/GenericHID.c +++ b/Demos/Device/LowLevel/GenericHID/GenericHID.c @@ -161,13 +161,13 @@ void ProcessGenericHIDReport(uint8_t* DataArray) NewLEDMask |= LEDS_LED1; if (DataArray[1]) - NewLEDMask |= LEDS_LED1; + NewLEDMask |= LEDS_LED2; if (DataArray[2]) - NewLEDMask |= LEDS_LED1; + NewLEDMask |= LEDS_LED3; if (DataArray[3]) - NewLEDMask |= LEDS_LED1; + NewLEDMask |= LEDS_LED4; LEDs_SetAllLEDs(NewLEDMask); } |