From a413fe7cba37cd83bf97caeed486413ce961dfad Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 5 Aug 2009 13:16:36 +0000 Subject: 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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@723 d5102386-fcda-11dd-9fdb-3debd5008f28 --- Demos/Device/LowLevel/USBtoSerial/USBtoSerial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Demos/Device/LowLevel') diff --git a/Demos/Device/LowLevel/USBtoSerial/USBtoSerial.c b/Demos/Device/LowLevel/USBtoSerial/USBtoSerial.c index 736c0af1..141a4527 100644 --- a/Demos/Device/LowLevel/USBtoSerial/USBtoSerial.c +++ b/Demos/Device/LowLevel/USBtoSerial/USBtoSerial.c @@ -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 -- cgit v1.2.3