summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-02-16 21:54:31 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-02-16 21:54:31 +0000
commitacc6e13af7822f0d7dd05201614c88c031989cf2 (patch)
tree4b785dc14f3aee79e0cfc938ffeb6fe6a4b56ceb /lib
parentadded keyoard mouse example (diff)
fixed init of anyio
git-svn-id: https://svn.spreadspace.org/avr/trunk@193 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'lib')
-rw-r--r--lib/anyio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/anyio.c b/lib/anyio.c
index 59fa52b..6344d74 100644
--- a/lib/anyio.c
+++ b/lib/anyio.c
@@ -75,6 +75,7 @@ void anyio_init(const uint32_t baudrate, const uint8_t doublespeed)
{
Serial_Init(baudrate, doublespeed);
Serial_CreateStream(&serial_stream);
+ stdin = stdout = stderr = &serial_stream;
USB_Init();
CDC_Device_CreateStream(&VirtualSerial_CDC_Interface,&usb_stream);