projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new Audio Class Driver Host demos.
[pub/USBasp.git]
/
Demos
/
DualRole
/
ClassDriver
/
MouseHostDevice
/
MouseHostDevice.c
diff --git
a/Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
b/Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
index
e0de5c2
..
16c8953
100644
(file)
--- a/
Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
+++ b/
Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
@@
-76,11
+76,14
@@
void SetupHardware(void)
clock_prescale_set(clock_div_1);
/* Hardware Initialization */
clock_prescale_set(clock_div_1);
/* Hardware Initialization */
- Serial
Stream
_Init(9600, false);
+ Serial_Init(9600, false);
LEDs_Init();
Joystick_Init();
Buttons_Init();
USB_Init(USB_MODE_UID);
LEDs_Init();
Joystick_Init();
Buttons_Init();
USB_Init(USB_MODE_UID);
+
+ /* Create a stdio stream for the serial port for stdin and stdout */
+ Serial_CreateStream(NULL);
}
/** Event handler for the library USB mode change event. */
}
/** Event handler for the library USB mode change event. */