Fix "grep: Version.h: No such file or directory" error when including the core LUFA...
[pub/USBasp.git] / Demos / Device / ClassDriver / GenericHID / GenericHID.c
index 3a050bb..d56b914 100644 (file)
@@ -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);
 }