aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-05 07:27:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-05 07:27:01 +0000
commit7602566a05616e55a943422c783e072b49cadb1d (patch)
tree3a487a654038c2c4499bf9be5110e424a8293e33
parent658234a0b0e380cf42838544515a9807a05600fa (diff)
downloadlufa-7602566a05616e55a943422c783e072b49cadb1d.tar.gz
lufa-7602566a05616e55a943422c783e072b49cadb1d.tar.bz2
lufa-7602566a05616e55a943422c783e072b49cadb1d.zip
Fixed SerialStream driver not setting stdin to the created serial stream.
-rw-r--r--LUFA/Drivers/Peripheral/SerialStream.h1
-rw-r--r--LUFA/ManPages/ChangeLog.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Drivers/Peripheral/SerialStream.h b/LUFA/Drivers/Peripheral/SerialStream.h
index 80fa681ac..e03ce4128 100644
--- a/LUFA/Drivers/Peripheral/SerialStream.h
+++ b/LUFA/Drivers/Peripheral/SerialStream.h
@@ -89,6 +89,7 @@
Serial_Init(BaudRate, DoubleSpeed);
stdout = &USARTStream;
+ stdin = &USARTStream;
}
/** Turns off the serial stream (and regular USART driver), disabling and returning used hardware to
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt
index 5fd1b2ba4..aaeaebd86 100644
--- a/LUFA/ManPages/ChangeLog.txt
+++ b/LUFA/ManPages/ChangeLog.txt
@@ -54,6 +54,7 @@
* - Fixed EEPROM and FLASH ISP programming in the AVRISP project
* - Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen)
* - Fixed SerialStream driver blocking while waiting for characters to be received instead of returning EOF
+ * - Fixed SerialStream driver not setting stdin to the created serial stream
*
* \section Sec_ChangeLog091223 Version 091223
*