X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7d037c7db812be4dac1a742c990f3631fbd82cb5..2608fd1dd48096c1867676de337767ff3fb1a951:/Demos/Device/ClassDriver/GenericHID/GenericHID.c?ds=inline diff --git a/Demos/Device/ClassDriver/GenericHID/GenericHID.c b/Demos/Device/ClassDriver/GenericHID/GenericHID.c index 3a050bbd9..f9222f45a 100644 --- a/Demos/Device/ClassDriver/GenericHID/GenericHID.c +++ b/Demos/Device/ClassDriver/GenericHID/GenericHID.c @@ -177,13 +177,13 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI NewLEDMask |= LEDS_LED1; if (Data[1]) - NewLEDMask |= LEDS_LED1; + NewLEDMask |= LEDS_LED2; if (Data[2]) - NewLEDMask |= LEDS_LED1; + NewLEDMask |= LEDS_LED3; if (Data[3]) - NewLEDMask |= LEDS_LED1; + NewLEDMask |= LEDS_LED4; LEDs_SetAllLEDs(NewLEDMask); }