view lldbg/getchar.c @ 24:da9056962fb7

services/pcm/pcmdata.c: re-enable EFR, but not AMR yet
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 05:14:36 +0000
parents 75a11d740a02
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;
}