diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-06 14:32:01 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-06 14:32:01 +0000 |
commit | f29fc1abc40dd862689ca8765e244c1212742744 (patch) | |
tree | c415237396cc2bfdb7d63401ae5a3c6fb2ea2a0d /Projects/USBtoSerial/USBtoSerial.c | |
parent | f7ab433c67b86723385ec05ee9c7b96dd18e6dde (diff) | |
download | lufa-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/USBtoSerial/USBtoSerial.c')
-rw-r--r-- | Projects/USBtoSerial/USBtoSerial.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Projects/USBtoSerial/USBtoSerial.c b/Projects/USBtoSerial/USBtoSerial.c index a4a4625ce..747e027fe 100644 --- a/Projects/USBtoSerial/USBtoSerial.c +++ b/Projects/USBtoSerial/USBtoSerial.c @@ -50,16 +50,19 @@ USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface = {
.Config =
{
- .ControlInterfaceNumber = 0,
+ .ControlInterfaceNumber = 0,
- .DataINEndpointNumber = CDC_TX_EPNUM,
- .DataINEndpointSize = CDC_TXRX_EPSIZE,
+ .DataINEndpointNumber = CDC_TX_EPNUM,
+ .DataINEndpointSize = CDC_TXRX_EPSIZE,
+ .DataINEndpointDoubleBank = false,
- .DataOUTEndpointNumber = CDC_RX_EPNUM,
- .DataOUTEndpointSize = CDC_TXRX_EPSIZE,
+ .DataOUTEndpointNumber = CDC_RX_EPNUM,
+ .DataOUTEndpointSize = CDC_TXRX_EPSIZE,
+ .DataOUTEndpointDoubleBank = false,
- .NotificationEndpointNumber = CDC_NOTIFICATION_EPNUM,
- .NotificationEndpointSize = CDC_NOTIFICATION_EPSIZE,
+ .NotificationEndpointNumber = CDC_NOTIFICATION_EPNUM,
+ .NotificationEndpointSize = CDC_NOTIFICATION_EPSIZE,
+ .NotificationEndpointDoubleBank = false,
},
};
|