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.
This commit is contained in:
		
							parent
							
								
									f7ab433c67
								
							
						
					
					
						commit
						f29fc1abc4
					
				
					 13 changed files with 60 additions and 48 deletions
				
			
		| 
						 | 
				
			
			@ -56,16 +56,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,
 | 
			
		||||
			},
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue