view target-utils/libprintf/putchar.c @ 346:fdeea3d6582d

OSL: reconstruction of os_isr.c (_fl only) started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 07 May 2014 19:50:01 +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);
}