X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/30f6d2bfd82995e0fa346b3b4eb33861f6a0fde3..afd828c095f38753e989391eab670b8736e4bd6e:/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c diff --git a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c index ebcf0b8b6..7e9a2c7a1 100644 --- a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c +++ b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c @@ -165,9 +165,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