aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/HIDReportViewer
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-12-23 01:51:39 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-12-23 01:51:39 +0000
commitf201f6697b7f99b63389509b42112026b8f6f76f (patch)
tree9f38b5271f3a5ff10083f4f3e27598ced92efe11 /Projects/HIDReportViewer
parent77f354609f0411fb6541da31a889186ad402838e (diff)
downloadlufa-f201f6697b7f99b63389509b42112026b8f6f76f.tar.gz
lufa-f201f6697b7f99b63389509b42112026b8f6f76f.tar.bz2
lufa-f201f6697b7f99b63389509b42112026b8f6f76f.zip
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
Diffstat (limited to 'Projects/HIDReportViewer')
-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 f3126c080..14302c227 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"));
}