aboutsummaryrefslogtreecommitdiff
path: root/Projects/HIDReportViewer/HIDReportViewer.c
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 /Projects/HIDReportViewer/HIDReportViewer.c
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 'Projects/HIDReportViewer/HIDReportViewer.c')
-rw-r--r--Projects/HIDReportViewer/HIDReportViewer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Projects/HIDReportViewer/HIDReportViewer.c b/Projects/HIDReportViewer/HIDReportViewer.c
index f3126c08..14302c22 100644
--- a/Projects/HIDReportViewer/HIDReportViewer.c
+++ b/Projects/HIDReportViewer/HIDReportViewer.c
@@ -33,7 +33,7 @@
* Main source file for the HIDReportViewer project. This file contains the main tasks of
* the project and is responsible for the initial application hardware configuration.
*/
-
+
#include "HIDReportViewer.h"
/** Processed HID report descriptor items structure, containing information on each HID report element */
@@ -75,7 +75,7 @@ int main(void)
for (;;)
{
RetrieveDeviceData();
-
+
HID_Host_USBTask(&Device_HID_Interface);
USB_USBTask();
}
@@ -88,12 +88,12 @@ void RetrieveDeviceData(void)
{
if (USB_CurrentMode != USB_MODE_Host)
return;
-
+
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
-
+
OutputReportSizes();
OutputParsedReportItems();
-
+
LEDs_SetAllLEDs(LEDMASK_USB_READY);
USB_Host_SetDeviceConfiguration(0);
}
@@ -168,7 +168,7 @@ void OutputParsedReportItems(void)
RItem->Attributes.Logical.Maximum,
RItem->Attributes.Physical.Minimum,
RItem->Attributes.Physical.Maximum);
-
+
OutputCollectionPath(RItem->CollectionPath);
}
}
@@ -188,10 +188,10 @@ void OutputCollectionPath(const HID_CollectionPath_t* const CollectionPath)
" - Type: 0x%02" PRIX8 "\r\n"
" - Usage: 0x%02" PRIX8 "\r\n"),
CurrentNode->Type, CurrentNode->Usage);
-
+
CurrentNode = CurrentNode->Parent;
}
-
+
printf_P(PSTR(" |\r\n"
" END\r\n"));
}