修复了进入倒计时时原先时间保留的问题

This commit is contained in:
423A35C7 2024-03-24 22:21:23 +08:00
parent cd4dff43d2
commit 7795b72eb6

View File

@ -225,6 +225,7 @@ trap_dispatch(struct trapframe *tf) {
mode = COUNTDOWN;
cprintf(MSG_COUNTDOWN_START);
state = WAITING_FOR_INPUT;
milliseconds = 0;
break;
case 's':
case 'c':