view target-utils/libprintf/putchar.c @ 14:f0501c4a8790

helloapp (proto-loadagent) compiles with r8/r16/r32 implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 May 2013 06:52:36 +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);
}