view target-utils/libprintf/putchar.c @ 624:7485e75d9477

srec-regions: removed unnecessary prohibition against address going backward
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 27 Feb 2020 08:12:11 +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);
}