view target-utils/libprintf/putchar.c @ 827:02c65d76881f

progress toward gsm-fw build with PS: dummy xxx_version() functions added
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 06 Apr 2015 01:48:17 +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);
}