view target-utils/libprintf/putchar.c @ 649:042735181793

gsm-fw/ccd/README: description of how we are going to tackle this component
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 04 Sep 2014 06:41: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);
}