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);
|
GPIO_GPIO0DATA |= (1u << 10);
|
||||||
delayms_queue(200);
|
delayms_queue(200);
|
||||||
GPIO_GPIO0DATA &= ~(1u << 10);
|
GPIO_GPIO0DATA &= ~(1u << 10);
|
||||||
|
delayms_queue(200);
|
||||||
awake_waitForKeyPressOrHackerbus();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -189,7 +188,7 @@ void main_awake(void) {
|
||||||
if ((ePacket <= PCKT_WINNER7) && !(nWinnerFlags & nWinnerMask)) {
|
if ((ePacket <= PCKT_WINNER7) && !(nWinnerFlags & nWinnerMask)) {
|
||||||
nWinnerFlags |= nWinnerMask;
|
nWinnerFlags |= nWinnerMask;
|
||||||
++nWinnerCount;
|
++nWinnerCount;
|
||||||
DoIntX(0, 32, nWinnerMask);
|
DoInt(0, 32, nWinnerCount);
|
||||||
lcdDisplay();
|
lcdDisplay();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue