view target-utils/libprintf/putchar.c @ 979:c5133c3c11b1

fc-loadtool flash: implement PL-J PPB programming functions
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 02 Dec 2023 04:21:59 +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);
}