1
0
mirror of https://github.com/rfivet/stm32bringup.git synced 2024-11-16 01:25:58 -05:00
stm32bringup/putchar.c

13 lines
279 B
C

/* 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 */