view target-utils/libprintf/putchar.c @ 569:dddcd55883fe

README: Bitbucket link changed to new location (freecalypso-docs)
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Feb 2020 22:24:55 +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);
}