X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/eee252603be67c539f9986cde76454f756e55d95..9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b:/Demos/Device/ClassDriver/GenericHID/GenericHID.c diff --git a/Demos/Device/ClassDriver/GenericHID/GenericHID.c b/Demos/Device/ClassDriver/GenericHID/GenericHID.c index 3a050bbd9..d56b91409 100644 --- a/Demos/Device/ClassDriver/GenericHID/GenericHID.c +++ b/Demos/Device/ClassDriver/GenericHID/GenericHID.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2012. + Copyright (C) Dean Camera, 2013. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -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); }