view target-utils/libprintf/putchar.c @ 367:c72feb362ef1

os_evt.c: got some bogus-looking code, decompiled as-is
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 29 May 2014 05:12:59 +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);
}