view gsm-fw/lldbg/getchar.c @ 956:1557e15a012f

target-utils refactoring: memory dump commands moved from libload to libcommon
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 04 Nov 2015 20:48:40 +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;
}