comparison lldbg/getchar.c @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:75a11d740a02
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 }