projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix incorrect macro guard in the UC3 EndpointStream header file.
[pub/USBasp.git]
/
Demos
/
Device
/
Incomplete
/
Sideshow
/
Sideshow.c
diff --git
a/Demos/Device/Incomplete/Sideshow/Sideshow.c
b/Demos/Device/Incomplete/Sideshow/Sideshow.c
index
8115cdb
..
09076e1
100644
(file)
--- a/
Demos/Device/Incomplete/Sideshow/Sideshow.c
+++ b/
Demos/Device/Incomplete/Sideshow/Sideshow.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-80,7
+80,10
@@
void SetupHardware(void)
/* Hardware Initialization */
LEDs_Init();
USB_Init();
/* 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)
}
void EVENT_USB_Device_Connect(void)