1
0
mirror of https://github.com/rfivet/stm32bringup.git synced 2024-12-18 06:46:23 -05:00
stm32bringup/putchar.c

13 lines
279 B
C
Raw Normal View History

/* putchar.c -- write a character to stdout */
/* Copyright (c) 2020-2021 Renaud Fivet */
#include <stdio.h>
#include "system.h" /* kputc() */
int (putchar)( int c) { /* putchar may be defined as macro in stdio.h */
kputc( c) ;
return c ;
}
/* end of putchar.c */