X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/30f6d2bfd82995e0fa346b3b4eb33861f6a0fde3..afd828c095f38753e989391eab670b8736e4bd6e:/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c?ds=inline diff --git a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c index a595d1144..5030b85c4 100644 --- a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c +++ b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c @@ -70,10 +70,13 @@ void SetupHardware(void) clock_prescale_set(clock_div_1); /* Hardware Initialization */ - SerialStream_Init(9600, false); + Serial_Init(9600, false); LEDs_Init(); Buttons_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