view target-utils/libprintf/putchar.c @ 426:1060bf70d95d

doc/Compal-unlock: added cautionary note about flashing firmwares containing boot code that checks the word at 0x2060
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 21 Jun 2014 06:55:27 +0000
parents 40f607bb0a2c
children
line wrap: on
line source

extern void serial_out();

void
putchar(ch)
{
	if (ch == '\n')
		serial_out('\r');
	serial_out(ch);
}