view target-utils/libprintf/putchar.c @ 883:18d7ced19f88

gsm-fw ATI: reinstate the old extension mechanism in CST until we come up with something better
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 07 Jun 2015 15:40:14 +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);
}