diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/anyio.c | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/lib/anyio.c b/lib/anyio.c index 2aae54e..1ccaf3a 100644 --- a/lib/anyio.c +++ b/lib/anyio.c @@ -2,8 +2,8 @@ * spreadspace avr utils * * - * Copyright (C) 2013-2014 Christian Pointner <equinox@spreadspace.org> - * Othmar Gsenger <otti@wirdorange.org> + * Copyright (C) 2013-2015 Christian Pointner <equinox@spreadspace.org> + * 2013-2014 Othmar Gsenger <otti@wirdorange.org> * * This file is part of spreadspace avr utils. * @@ -31,7 +31,7 @@ /* LUFA Library - Copyright (C) Dean Camera, 2012. + Copyright (C) Dean Camera, 2014. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org @@ -41,19 +41,25 @@ USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface = { .Config = { - .ControlInterfaceNumber = 0, - - .DataINEndpointNumber = CDC_TX_EPNUM, - .DataINEndpointSize = CDC_TXRX_EPSIZE, - .DataINEndpointDoubleBank = false, - - .DataOUTEndpointNumber = CDC_RX_EPNUM, - .DataOUTEndpointSize = CDC_TXRX_EPSIZE, - .DataOUTEndpointDoubleBank = false, - - .NotificationEndpointNumber = CDC_NOTIFICATION_EPNUM, - .NotificationEndpointSize = CDC_NOTIFICATION_EPSIZE, - .NotificationEndpointDoubleBank = false, + .ControlInterfaceNumber = INTERFACE_ID_CDC_CCI, + .DataINEndpoint = + { + .Address = CDC_TX_EPADDR, + .Size = CDC_TXRX_EPSIZE, + .Banks = 1, + }, + .DataOUTEndpoint = + { + .Address = CDC_RX_EPADDR, + .Size = CDC_TXRX_EPSIZE, + .Banks = 1, + }, + .NotificationEndpoint = + { + .Address = CDC_NOTIFICATION_EPADDR, + .Size = CDC_NOTIFICATION_EPSIZE, + .Banks = 1, + }, }, }; |