view target-utils/libprintf/putchar.c @ 716:21cd7e35807a

gsm-fw/g23m-gsm/l1: l1_pei.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 21:10:00 +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);
}