// -----------------------------------------------------------------------
// LcdWait.c
// -----------------------------------------------------------------------
#include "Lcd.h"

// -----------------------------------------------------------------------
// Wait for the display
// -----------------------------------------------------------------------
extern	bool_t			LcdWait			( uint16_t aMaxtime ) {
	uint16_t	mytime;

	mytime = aMaxtime;
	while	( mytime != 0 && LcdBusy() ) {
		mytime--;
		ApplicationDelay( 1 );
	}
	return	LcdBusy();
}

// -----------------------------------------------------------------------
// EOF: LcdWait.c
// -----------------------------------------------------------------------
