mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 13:22:31 +01:00 
			
		
		
		
	Fix warning when not compiled for UID auto-selection mode.
This commit is contained in:
		
							parent
							
								
									e7e1c21bc5
								
							
						
					
					
						commit
						1621158c62
					
				| @ -104,7 +104,9 @@ void USB_ShutDown(void) | |||||||
| 
 | 
 | ||||||
| void USB_ResetInterface(void) | void USB_ResetInterface(void) | ||||||
| { | { | ||||||
|  | 	#if defined(USB_CAN_BE_BOTH) | ||||||
| 	bool UIDModeSelectEnabled = ((UHWCON & (1 << UIDE)) != 0); | 	bool UIDModeSelectEnabled = ((UHWCON & (1 << UIDE)) != 0); | ||||||
|  | 	#endif | ||||||
| 
 | 
 | ||||||
| 	USB_INT_DisableAllInterrupts(); | 	USB_INT_DisableAllInterrupts(); | ||||||
| 	USB_INT_ClearAllInterrupts(); | 	USB_INT_ClearAllInterrupts(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera