diff options
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); } |