view target-utils/libprintf/putchar.c @ 876:c9f353b5d70c

rvinterf/asyncshell/rxctl.c: buglet in the implementation of dis/enable commands
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 30 May 2015 07:50:05 +0000 (2015-05-30)
parents 40f607bb0a2c
children
line wrap: on
line source
extern void serial_out();

void
putchar(ch)
{
	if (ch == '\n')
		serial_out('\r');
	serial_out(ch);
}