aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Magstripe
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-06 14:32:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-06 14:32:01 +0000
commitf29fc1abc40dd862689ca8765e244c1212742744 (patch)
treec415237396cc2bfdb7d63401ae5a3c6fb2ea2a0d /Projects/Magstripe
parentf7ab433c67b86723385ec05ee9c7b96dd18e6dde (diff)
downloadlufa-f29fc1abc40dd862689ca8765e244c1212742744.tar.gz
lufa-f29fc1abc40dd862689ca8765e244c1212742744.tar.bz2
lufa-f29fc1abc40dd862689ca8765e244c1212742744.zip
Add double banking property to LUFA powered projects in the Projects directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
Diffstat (limited to 'Projects/Magstripe')
-rw-r--r--Projects/Magstripe/Magstripe.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/Projects/Magstripe/Magstripe.c b/Projects/Magstripe/Magstripe.c
index 7b3f0be39..69f17c759 100644
--- a/Projects/Magstripe/Magstripe.c
+++ b/Projects/Magstripe/Magstripe.c
@@ -56,13 +56,14 @@ USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
{
.Config =
{
- .InterfaceNumber = 0,
+ .InterfaceNumber = 0,
- .ReportINEndpointNumber = KEYBOARD_EPNUM,
- .ReportINEndpointSize = KEYBOARD_EPSIZE,
+ .ReportINEndpointNumber = KEYBOARD_EPNUM,
+ .ReportINEndpointSize = KEYBOARD_EPSIZE,
+ .ReportINEndpointDoubleBank = KEYBOARD_EPSIZE,
- .PrevReportINBuffer = PrevKeyboardHIDReportBuffer,
- .PrevReportINBufferSize = sizeof(PrevKeyboardHIDReportBuffer),
+ .PrevReportINBuffer = PrevKeyboardHIDReportBuffer,
+ .PrevReportINBufferSize = sizeof(PrevKeyboardHIDReportBuffer),
},
};