fix for LCD row tracking, fix for "phantom" keypress at powerup

This commit is contained in:
Jeff Wang
2019-04-04 03:01:21 -04:00
parent 4734fe5a0e
commit 240dd570ae
4 changed files with 7 additions and 4 deletions

View File

@ -28,7 +28,7 @@ static const char KEY_MAP[20] = {
#ifdef DESKTOP
QSemaphore KeysAvailable(1);
QSemaphore KeysAvailable(0);
QSemaphore LcdAvailable(1);
#endif
@ -160,9 +160,9 @@ int main()
#endif
latch_on();
Timer0Init(); // display refresh & switch read
LCD_Open();
KeyInit();
Timer0Init(); // display refresh & switch read
BACKLIGHT_ON(); //turn on led backlight
ExpBuf[0] = 0;