Fixed issue in USBtoSerial demos where the USART Rx line was not having its pullup enabled at startup, leading to noise being received from the Rx pin when left floating.
Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
This commit is contained in:
		
							parent
							
								
									4421782b7f
								
							
						
					
					
						commit
						99c447c754
					
				
					 12 changed files with 24 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -110,7 +110,7 @@ void SetupHardware(void)
 | 
			
		|||
	clock_prescale_set(clock_div_1);
 | 
			
		||||
 | 
			
		||||
	/* Hardware Initialization */
 | 
			
		||||
	Joystick_Init();
 | 
			
		||||
	Serial_Init(9600, false);
 | 
			
		||||
	LEDs_Init();
 | 
			
		||||
	USB_Init();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -48,7 +48,6 @@
 | 
			
		|||
 | 
			
		||||
		#include <LUFA/Version.h>
 | 
			
		||||
		#include <LUFA/Drivers/Board/LEDs.h>
 | 
			
		||||
		#include <LUFA/Drivers/Board/Joystick.h>
 | 
			
		||||
		#include <LUFA/Drivers/Peripheral/Serial.h>
 | 
			
		||||
		#include <LUFA/Drivers/USB/USB.h>
 | 
			
		||||
		#include <LUFA/Drivers/USB/Class/CDC.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -81,9 +81,9 @@ void SetupHardware(void)
 | 
			
		|||
	clock_prescale_set(clock_div_1);
 | 
			
		||||
 | 
			
		||||
	/* Hardware Initialization */
 | 
			
		||||
	Serial_Init(9600, false);
 | 
			
		||||
	LEDs_Init();
 | 
			
		||||
	ReconfigureUSART();
 | 
			
		||||
	USB_Init();	
 | 
			
		||||
	USB_Init();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/** Event handler for the USB_Connect event. This indicates that the device is enumerating via the status LEDs and
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue