aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/Incomplete/Sideshow/Sideshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/Incomplete/Sideshow/Sideshow.c')
-rw-r--r--Demos/Device/Incomplete/Sideshow/Sideshow.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Demos/Device/Incomplete/Sideshow/Sideshow.c b/Demos/Device/Incomplete/Sideshow/Sideshow.c
index 4b6b268466..09076e1532 100644
--- a/Demos/Device/Incomplete/Sideshow/Sideshow.c
+++ b/Demos/Device/Incomplete/Sideshow/Sideshow.c
@@ -80,7 +80,10 @@ void SetupHardware(void)
/* Hardware Initialization */
LEDs_Init();
USB_Init();
- SerialStream_Init(9600, false);
+ Serial_Init(9600, false);
+
+ /* Create a stdio stream for the serial port for stdin and stdout */
+ Serial_CreateStream(NULL);
}
void EVENT_USB_Device_Connect(void)