view gsm-fw/lldbg/getchar.c @ 978:1ee80bcb0fd0

fc-tmsh: omr (old-style memory read) command implemented
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Thu, 10 Dec 2015 04:05:55 +0000
parents f5affe83ba2d
children
line wrap: on
line source

extern int lldbg_serial_in_poll();

int
lldbg_getchar()
{
	register int c;

	do
		c = lldbg_serial_in_poll();
	while (c < 0);
	return c;
}