修复了进入倒计时时原先时间保留的问题
This commit is contained in:
parent
cd4dff43d2
commit
7795b72eb6
@ -225,6 +225,7 @@ trap_dispatch(struct trapframe *tf) {
|
|||||||
mode = COUNTDOWN;
|
mode = COUNTDOWN;
|
||||||
cprintf(MSG_COUNTDOWN_START);
|
cprintf(MSG_COUNTDOWN_START);
|
||||||
state = WAITING_FOR_INPUT;
|
state = WAITING_FOR_INPUT;
|
||||||
|
milliseconds = 0;
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
case 'c':
|
case 'c':
|
||||||
|
Loading…
Reference in New Issue
Block a user