forked from mfulz_github/qmk_firmware
		
	Fix device mode for the U4 parts.
This commit is contained in:
		
							parent
							
								
									383d167125
								
							
						
					
					
						commit
						d06febbb59
					
				@ -60,7 +60,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# MCU name
 | 
					# MCU name
 | 
				
			||||||
MCU = at90usb1287
 | 
					MCU = atmega32u4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Target board (see library "Board Types" documentation, NONE for projects not requiring
 | 
					# Target board (see library "Board Types" documentation, NONE for projects not requiring
 | 
				
			||||||
 | 
				
			|||||||
@ -156,7 +156,7 @@ void USB_ResetInterface(void)
 | 
				
			|||||||
		#endif
 | 
							#endif
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	#if (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
 | 
						#if (defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
 | 
				
			||||||
	USB_OTGPAD_On();
 | 
						USB_OTGPAD_On();
 | 
				
			||||||
	#endif
 | 
						#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user