SPLIT - Remove NO_USB_STARTUP_CHECK requirement for usb detection (#7053)
* Avoid NO_USB_STARTUP_CHECK - Disable USB as checks seem to enable it somehow * Update quantum/split_common/split_util.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Also remove NO_USB_STARTUP_CHECK from vitamins_included/rev1
This commit is contained in:
		
							parent
							
								
									550435c1c9
								
							
						
					
					
						commit
						5dc91ddc60
					
				
					 3 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -32,6 +32,12 @@ bool waitForUsb(void) {
 | 
			
		|||
        }
 | 
			
		||||
        wait_ms(100);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
#if defined(__AVR__)
 | 
			
		||||
    // Avoid NO_USB_STARTUP_CHECK - Disable USB as the previous checks seem to enable it somehow
 | 
			
		||||
    (USBCON &= ~(_BV(USBE) | _BV(OTGPADE)));
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue