diff options
author | Dean Camera <[email protected]> | 2009-11-06 14:32:01 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-11-06 14:32:01 +0000 |
commit | f29fc1abc40dd862689ca8765e244c1212742744 (patch) | |
tree | c415237396cc2bfdb7d63401ae5a3c6fb2ea2a0d /Projects/Magstripe | |
parent | f7ab433c67b86723385ec05ee9c7b96dd18e6dde (diff) | |
download | qmk_firmware-f29fc1abc40dd862689ca8765e244c1212742744.tar.gz qmk_firmware-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.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Projects/Magstripe/Magstripe.c b/Projects/Magstripe/Magstripe.c index 7b3f0be39a..69f17c7593 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),
},
};
|