view target-utils/libprintf/putchar.c @ 198:c9ea2f7441a5

fc-tmsh: abb[rw] commands implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 15 Dec 2013 08:48:52 +0000
parents 40f607bb0a2c
children
line wrap: on
line source

extern void serial_out();

void
putchar(ch)
{
	if (ch == '\n')
		serial_out('\r');
	serial_out(ch);
}