aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/GenericHID
diff options
context:
space:
mode:
authordean <dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-12-23 01:51:39 +0000
committerdean <dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-12-23 01:51:39 +0000
commit9b0c63fa0a32478a8f5bdd90a9ab4a23a19cb1f0 (patch)
tree9f38b5271f3a5ff10083f4f3e27598ced92efe11 /Demos/Device/ClassDriver/GenericHID
parentd5f67c6637f24c2c640d3c067ba74906ad791420 (diff)
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/GenericHID')
-rw-r--r--Demos/Device/ClassDriver/GenericHID/GenericHID.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Device/ClassDriver/GenericHID/GenericHID.c b/Demos/Device/ClassDriver/GenericHID/GenericHID.c
index 466efaf7..be795409 100644
--- a/Demos/Device/ClassDriver/GenericHID/GenericHID.c
+++ b/Demos/Device/ClassDriver/GenericHID/GenericHID.c
@@ -145,7 +145,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
{
uint8_t* Data = (uint8_t*)ReportData;
uint8_t CurrLEDMask = LEDs_GetLEDs();
-
+
Data[0] = ((CurrLEDMask & LEDS_LED1) ? 1 : 0);
Data[1] = ((CurrLEDMask & LEDS_LED2) ? 1 : 0);
Data[2] = ((CurrLEDMask & LEDS_LED3) ? 1 : 0);
@@ -171,7 +171,7 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI
{
uint8_t* Data = (uint8_t*)ReportData;
uint8_t NewLEDMask = LEDS_NO_LEDS;
-
+
if (Data[0])
NewLEDMask |= LEDS_LED1;
@@ -183,7 +183,7 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI
if (Data[3])
NewLEDMask |= LEDS_LED1;
-
+
LEDs_SetAllLEDs(NewLEDMask);
}