view target-utils/libprintf/putchar.c @ 889:834b5645a123

doc/Buzzer-melodies: note the fact that Mot C1xx official fw uses PWT
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Apr 2022 04:39:26 +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);
}