Fixed SerialStream driver not setting stdin to the created serial stream.
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 5 Feb 2010 07:27:01 +0000 (07:27 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 5 Feb 2010 07:27:01 +0000 (07:27 +0000)
LUFA/Drivers/Peripheral/SerialStream.h
LUFA/ManPages/ChangeLog.txt

index 80fa681..e03ce41 100644 (file)
@@ -89,6 +89,7 @@
                                Serial_Init(BaudRate, DoubleSpeed);\r
                                \r
                                stdout = &USARTStream;\r
+                               stdin  = &USARTStream;\r
                        }\r
                        \r
                        /** Turns off the serial stream (and regular USART driver), disabling and returning used hardware to\r
index 5fd1b2b..aaeaebd 100644 (file)
@@ -54,6 +54,7 @@
   *  - Fixed EEPROM and FLASH ISP programming in the AVRISP project\r
   *  - Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen)\r
   *  - Fixed SerialStream driver blocking while waiting for characters to be received instead of returning EOF\r
+  *  - Fixed SerialStream driver not setting stdin to the created serial stream\r
   *\r
   *  \section Sec_ChangeLog091223 Version 091223\r
   *\r