summaryrefslogtreecommitdiff
path: root/software/avr.lib/anyio.c
diff options
context:
space:
mode:
Diffstat (limited to 'software/avr.lib/anyio.c')
-rw-r--r--software/avr.lib/anyio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/software/avr.lib/anyio.c b/software/avr.lib/anyio.c
index 59fa52b..6344d74 100644
--- a/software/avr.lib/anyio.c
+++ b/software/avr.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);