view target-utils/libprintf/putchar.c @ 855:cbd91f807141

gsm-fw/configs/gtamodem-gsm: feature at-modem added
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 30 Apr 2015 02:57:45 +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);
}