view target-utils/libprintf/putchar.c @ 481:6dcca662a02f

doc/Compal-calibration: update for SE J100 being the same as Mot C1xx
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Mar 2019 21:12:43 +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);
}