Add ASF provider manifest file and adjust VSIX packing to compress the library contents.
[pub/USBasp.git] / Demos / Device / LowLevel / GenericHID / GenericHID.c
index e74daff..10b344f 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
@@ -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);
 }