view target-utils/libprintf/putchar.c @ 390:c7599298998c

README: updated for the new set of top-level source directories
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Mar 2018 17:39:53 +0000
parents e7502631a0f9
children
line wrap: on
line source

extern void serial_out();

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