view gsm-fw/lldbg/getchar.c @ 990:2a867e5768e9

fc-dspapidump fix: be independent of host byte order
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 12 Dec 2015 20:07:51 +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;
}