aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/ClassDriver/StillImageHost/StillImageHost.c')
-rw-r--r--Demos/Host/ClassDriver/StillImageHost/StillImageHost.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/StillImageHost/StillImageHost.c b/Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
index 581787d30..7018f9d2d 100644
--- a/Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
+++ b/Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
@@ -159,9 +159,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