From: Dean Camera Date: Fri, 5 Feb 2010 07:27:01 +0000 (+0000) Subject: Fixed SerialStream driver not setting stdin to the created serial stream. X-Git-Tag: LUFA-110528-BETA~613 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/7602566a05616e55a943422c783e072b49cadb1d?ds=sidebyside Fixed SerialStream driver not setting stdin to the created serial stream. --- 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 *