mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
16 lines
207 B
C
16 lines
207 B
C
#include <stdio.h>
|
|
#include "uart_console.h"
|
|
|
|
int fputc(int c, FILE *stream)
|
|
{
|
|
UART_PutChar(c);
|
|
return c;
|
|
}
|
|
|
|
int fputs(const char *s, FILE *stream)
|
|
{
|
|
while (*s != '\0')
|
|
UART_PutChar(*s++);
|
|
return 0;
|
|
}
|