view target-utils/libprintf/putchar.c @ 156:eba29cb0526c

gsm-fw: started on the header dependencies for bsp/abb+spi/abb_core_inth.c
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Nov 2013 08:15:19 +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);
}