view target-utils/libprintf/putchar.c @ 584:d42078e35ac9

tpudrv12.c compiles!
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 15 Aug 2014 21:57:14 +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);
}