blob: f7add108d28c5eb987e918851fa7a948f57a2f04 [file] [log] [blame]
Harald Welted09829d2017-02-27 22:58:59 +01001#include <stdio.h>
2#include "uart_console.h"
3
4int fputc(int c, FILE *stream)
5{
6 UART_PutChar(c);
7 return c;
8}
9
10int fputs(const char *s, FILE *stream)
11{
12 while (*s != '\0')
13 UART_PutChar(*s++);
14 return 0;
15}