diff gsm-fw/lldbg/printf.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/printf.c	Fri May 15 00:02:03 2015 +0000
@@ -0,0 +1,13 @@
+#include <stdarg.h>
+
+int
+lldbg_printf(char *fmt, ...)
+{
+	va_list ap;
+	int len;
+
+	va_start(ap, fmt);
+	len = lldbg_doprnt(fmt, ap);
+	va_end(ap);
+	return(len);
+}