aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Incomplete
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/Incomplete')
-rw-r--r--Demos/Device/Incomplete/Sideshow/Sideshow.c5
-rw-r--r--Demos/Device/Incomplete/Sideshow/Sideshow.h2
-rw-r--r--Demos/Device/Incomplete/Sideshow/makefile3
3 files changed, 6 insertions, 4 deletions
diff --git a/Demos/Device/Incomplete/Sideshow/Sideshow.c b/Demos/Device/Incomplete/Sideshow/Sideshow.c
index 4b6b26846..09076e153 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)
diff --git a/Demos/Device/Incomplete/Sideshow/Sideshow.h b/Demos/Device/Incomplete/Sideshow/Sideshow.h
index 6bbf4b5a5..eaa2c1dd3 100644
--- a/Demos/Device/Incomplete/Sideshow/Sideshow.h
+++ b/Demos/Device/Incomplete/Sideshow/Sideshow.h
@@ -43,7 +43,7 @@
#include <LUFA/Version.h>
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Board/LEDs.h>
- #include <LUFA/Drivers/Peripheral/SerialStream.h>
+ #include <LUFA/Drivers/Peripheral/Serial.h>
/* Macros: */
/** Device control request for used in the Microsoft OS Descriptor for retrieving the OS Feature
diff --git a/Demos/Device/Incomplete/Sideshow/makefile b/Demos/Device/Incomplete/Sideshow/makefile
index 81756c12b..206017549 100644
--- a/Demos/Device/Incomplete/Sideshow/makefile
+++ b/Demos/Device/Incomplete/Sideshow/makefile
@@ -135,8 +135,7 @@ SRC = $(TARGET).c \
Lib/SideshowCommon.c \
Lib/SideshowContent.c \
$(LUFA_SRC_USB) \
- $(LUFA_SRC_SERIAL) \
- $(LUFA_SRC_SERIALSTREAM)
+ $(LUFA_SRC_SERIAL)
# List C++ source files here. (C dependencies are automatically generated.)