nes-proj/drivers/cpu/msp430/dev/uart0-putchar.c

10 lines
147 B
C

#include "dev/uart0.h"
/* In case of IPv4: putchar() is defined by the SLIP driver */
int
putchar(int c)
{
uart0_writeb((char)c);
return c;
}