Fixed SerialStream driver not setting stdin to the created serial stream.
[pub/USBasp.git] / LUFA / Drivers / Peripheral / SerialStream.h
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