aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/Keyboard
diff options
context:
space:
mode:
authorLászló Monda <laci@monda.hu>2013-10-10 00:32:35 +0200
committerLászló Monda <laci@monda.hu>2013-10-10 00:32:35 +0200
commit352152c66433f1c317cd48529b2746be79fd17f5 (patch)
tree846d62348b643565eb37c928044dfac40c483740 /Demos/Device/ClassDriver/Keyboard
parentab238601b96e4d804640ccfef5a9bde51995da7f (diff)
downloadlufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.gz
lufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.bz2
lufa-352152c66433f1c317cd48529b2746be79fd17f5.zip
Replace CDC interface numbers with enums.
Diffstat (limited to 'Demos/Device/ClassDriver/Keyboard')
-rw-r--r--Demos/Device/ClassDriver/Keyboard/Descriptors.h2
-rw-r--r--Demos/Device/ClassDriver/Keyboard/Keyboard.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Device/ClassDriver/Keyboard/Descriptors.h b/Demos/Device/ClassDriver/Keyboard/Descriptors.h
index ce029bb75..21c9e5df6 100644
--- a/Demos/Device/ClassDriver/Keyboard/Descriptors.h
+++ b/Demos/Device/ClassDriver/Keyboard/Descriptors.h
@@ -53,7 +53,7 @@
// Keyboard HID Interface
USB_Descriptor_Interface_t HID_Interface;
USB_HID_Descriptor_HID_t HID_KeyboardHID;
- USB_Descriptor_Endpoint_t HID_ReportINEndpoint;
+ USB_Descriptor_Endpoint_t HID_ReportINEndpoint;
} USB_Descriptor_Configuration_t;
/** Enum for the device interface descriptor IDs within the device. Each interface descriptor
diff --git a/Demos/Device/ClassDriver/Keyboard/Keyboard.c b/Demos/Device/ClassDriver/Keyboard/Keyboard.c
index 68e3fbe1b..7acd0d613 100644
--- a/Demos/Device/ClassDriver/Keyboard/Keyboard.c
+++ b/Demos/Device/ClassDriver/Keyboard/Keyboard.c
@@ -44,7 +44,7 @@ static uint8_t PrevKeyboardHIDReportBuffer[sizeof(USB_KeyboardReport_Data_t)];
* within a device can be differentiated from one another.
*/
USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
- {
+ {
.Config =
{
.InterfaceNumber = INTERFACE_ID_Keyboard,
@@ -57,7 +57,7 @@ USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
.PrevReportINBuffer = PrevKeyboardHIDReportBuffer,
.PrevReportINBufferSize = sizeof(PrevKeyboardHIDReportBuffer),
},
- };
+ };
/** Main program entry point. This routine contains the overall program flow, including initial