diff gsm-fw/lldbg/putchar.c @ 865:f5affe83ba2d

lldbg hack (poor girl's substitute for JTAG) implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 15 May 2015 00:02:03 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/lldbg/putchar.c	Fri May 15 00:02:03 2015 +0000
@@ -0,0 +1,9 @@
+extern void lldbg_serial_out();
+
+void
+lldbg_putchar(ch)
+{
+	if (ch == '\n')
+		lldbg_serial_out('\r');
+	lldbg_serial_out(ch);
+}