diff options
Diffstat (limited to 'Projects/LEDNotifier/LEDNotifier.c')
| -rw-r--r-- | Projects/LEDNotifier/LEDNotifier.c | 32 | 
1 files changed, 19 insertions, 13 deletions
| diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index 34f29e124..dd3a8ae3a 100644 --- a/Projects/LEDNotifier/LEDNotifier.c +++ b/Projects/LEDNotifier/LEDNotifier.c @@ -44,19 +44,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   = 0, +				.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, +					},  			},  	}; | 
