bluetooth
This commit is contained in:
		
							parent
							
								
									40148c430e
								
							
						
					
					
						commit
						c966e7982c
					
				
					 20 changed files with 2329 additions and 319 deletions
				
			
		| 
						 | 
				
			
			@ -266,7 +266,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
 | 
			
		|||
 | 
			
		||||
            .ConfigAttributes       = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_REMOTEWAKEUP),
 | 
			
		||||
 | 
			
		||||
            .MaxPowerConsumption    = USB_CONFIG_POWER_MA(100)
 | 
			
		||||
            .MaxPowerConsumption    = USB_CONFIG_POWER_MA(500)
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
    /*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -840,13 +840,13 @@ int main(void)
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
    /* wait for USB startup & debug output */
 | 
			
		||||
    // while (USB_DeviceState != DEVICE_STATE_Configured) {
 | 
			
		||||
    while (USB_DeviceState != DEVICE_STATE_Configured) {
 | 
			
		||||
// #if defined(INTERRUPT_CONTROL_ENDPOINT)
 | 
			
		||||
        // ;
 | 
			
		||||
// #else
 | 
			
		||||
        USB_USBTask();
 | 
			
		||||
// #endif
 | 
			
		||||
    // }
 | 
			
		||||
    }
 | 
			
		||||
    print("USB configured.\n");
 | 
			
		||||
 | 
			
		||||
    /* init modules */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue