From f201f6697b7f99b63389509b42112026b8f6f76f Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 23 Dec 2011 01:51:39 +0000 Subject: Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. --- Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c | 4 ++-- Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h | 2 +- .../ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.c | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'Demos/Device/ClassDriver/KeyboardMouseMultiReport') diff --git a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c index de60d76d8..cac4853fc 100644 --- a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c +++ b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c @@ -77,7 +77,7 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM HIDReport[] = HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_VARIABLE | HID_IOF_RELATIVE), HID_RI_END_COLLECTION(0), HID_RI_END_COLLECTION(0), - + /* Keyboard Report */ HID_RI_USAGE_PAGE(8, 0x01), /* Generic Desktop */ HID_RI_USAGE(8, 0x06), /* Keyboard */ @@ -280,7 +280,7 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, break; case HID_DTYPE_HID: Address = &ConfigurationDescriptor.HID_HIDData; - Size = sizeof(USB_HID_Descriptor_HID_t); + Size = sizeof(USB_HID_Descriptor_HID_t); break; case HID_DTYPE_Report: Address = &HIDReport; diff --git a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h index 7d9b06680..a0d99d433 100644 --- a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h +++ b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h @@ -62,7 +62,7 @@ /** Size in bytes of each of the HID reporting IN endpoint. */ #define HID_EPSIZE 8 - + /* Enums: */ /** Enum for the HID report IDs used in the device. */ enum diff --git a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.c b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.c index a3c0abe6b..4b6a86d89 100644 --- a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.c +++ b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.c @@ -148,7 +148,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn uint8_t ButtonStatus_LCL = Buttons_GetStatus(); if (!(ButtonStatus_LCL & BUTTONS_BUTTON1)) - { + { USB_KeyboardReport_Data_t* KeyboardReport = (USB_KeyboardReport_Data_t*)ReportData; KeyboardReport->Modifier = HID_KEYBOARD_MODIFIER_LEFTSHIFT; @@ -221,3 +221,4 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI LEDs_SetAllLEDs(LEDMask); } + -- cgit v1.2.3