automatic reset after won game

This commit is contained in:
tunix 2012-06-11 22:14:04 +02:00
parent 1e98199e7b
commit e810f0ca89
1 changed files with 2 additions and 3 deletions

View File

@ -134,8 +134,7 @@ static void awake_promptUserEnd(void){
GPIO_GPIO0DATA |= (1u << 10);
delayms_queue(200);
GPIO_GPIO0DATA &= ~(1u << 10);
awake_waitForKeyPressOrHackerbus();
delayms_queue(200);
}
@ -189,7 +188,7 @@ void main_awake(void) {
if ((ePacket <= PCKT_WINNER7) && !(nWinnerFlags & nWinnerMask)) {
nWinnerFlags |= nWinnerMask;
++nWinnerCount;
DoIntX(0, 32, nWinnerMask);
DoInt(0, 32, nWinnerCount);
lcdDisplay();
}
}