diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-05 13:16:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-05 13:16:36 +0000 |
commit | 99c447c754e0b238aca99ac772b5dabb78fc8b48 (patch) | |
tree | ce5a2f7855fed8676f4633f7d765075cec305e76 /Demos/Device/ClassDriver/USBtoSerial | |
parent | 4421782b7fb49e160b1c18f2295e6cd1f0b00c04 (diff) | |
download | lufa-99c447c754e0b238aca99ac772b5dabb78fc8b48.tar.gz lufa-99c447c754e0b238aca99ac772b5dabb78fc8b48.tar.bz2 lufa-99c447c754e0b238aca99ac772b5dabb78fc8b48.zip |
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.
Diffstat (limited to 'Demos/Device/ClassDriver/USBtoSerial')
-rw-r--r-- | Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c index b78a6d331..0c83cd8dd 100644 --- a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c +++ b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c @@ -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();
}
diff --git a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.h b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.h index 4ceb931a3..c982ad1a6 100644 --- a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.h +++ b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.h @@ -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>
|