automatic reset after won game
This commit is contained in:
parent
1e98199e7b
commit
e810f0ca89
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue