comparison gsm-fw/lldbg/getchar.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
comparison
equal deleted inserted replaced
864:4fa939eada22 865:f5affe83ba2d
1 extern int lldbg_serial_in_poll();
2
3 int
4 lldbg_getchar()
5 {
6 register int c;
7
8 do
9 c = lldbg_serial_in_poll();
10 while (c < 0);
11 return c;
12 }