X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/30f6d2bfd82995e0fa346b3b4eb33861f6a0fde3..afd828c095f38753e989391eab670b8736e4bd6e:/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c?ds=inline diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c index 8d7fa93c2..fc549ab90 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c @@ -200,9 +200,12 @@ void SetupHardware(void) clock_prescale_set(clock_div_1); /* Hardware Initialization */ - SerialStream_Init(9600, false); + Serial_Init(9600, false); LEDs_Init(); USB_Init(); + + /* Create a stdio stream for the serial port for stdin and stdout */ + Serial_CreateStream(NULL); } /** Event handler for the USB_DeviceAttached event. This indicates that a device has been attached to the host, and