aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/Mouse
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-11 01:52:53 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-11 01:52:53 +0000
commitb2330934b9ccd51a59183eb2a11fdd95183df27b (patch)
tree0a6003fd755b6c648ae6b0b0953a9c68bd2f91ee /Demos/Device/ClassDriver/Mouse
parent462fb500d76a352409886adb188246dcc6e06680 (diff)
downloadlufa-b2330934b9ccd51a59183eb2a11fdd95183df27b.tar.gz
lufa-b2330934b9ccd51a59183eb2a11fdd95183df27b.tar.bz2
lufa-b2330934b9ccd51a59183eb2a11fdd95183df27b.zip
Some minor whitespace corrections.
Diffstat (limited to 'Demos/Device/ClassDriver/Mouse')
-rw-r--r--Demos/Device/ClassDriver/Mouse/Descriptors.c6
-rw-r--r--Demos/Device/ClassDriver/Mouse/Mouse.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Device/ClassDriver/Mouse/Descriptors.c b/Demos/Device/ClassDriver/Mouse/Descriptors.c
index 8ac457094..7c32b3f10 100644
--- a/Demos/Device/ClassDriver/Mouse/Descriptors.c
+++ b/Demos/Device/ClassDriver/Mouse/Descriptors.c
@@ -141,7 +141,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.MouseHID =
{
.Header = {.Size = sizeof(USB_Descriptor_HID_t), .Type = DTYPE_HID},
-
+
.HIDSpec = VERSION_BCD(01.11),
.CountryCode = 0x00,
.TotalReportDescriptors = 1,
@@ -152,12 +152,12 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.MouseEndpoint =
{
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
-
+
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_EPNUM),
.Attributes = EP_TYPE_INTERRUPT,
.EndpointSize = MOUSE_EPSIZE,
.PollingIntervalMS = 0x02
- }
+ }
};
/** Language descriptor structure. This descriptor, located in FLASH memory, is returned when the host requests
diff --git a/Demos/Device/ClassDriver/Mouse/Mouse.c b/Demos/Device/ClassDriver/Mouse/Mouse.c
index f5bd931d1..2ae277865 100644
--- a/Demos/Device/ClassDriver/Mouse/Mouse.c
+++ b/Demos/Device/ClassDriver/Mouse/Mouse.c
@@ -92,13 +92,13 @@ void SetupHardware(void)
/** Event handler for the library USB Connection event. */
void EVENT_USB_Connect(void)
{
- LEDs_SetAllLEDs(LEDMASK_USB_ENUMERATING);
+ LEDs_SetAllLEDs(LEDMASK_USB_ENUMERATING);
}
/** Event handler for the library USB Disconnection event. */
void EVENT_USB_Disconnect(void)
{
- LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
+ LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
}
/** Event handler for the library USB Configuration Changed event. */