From 7795b72eb61daf931fb1bbd3145cb6a631f02dc4 Mon Sep 17 00:00:00 2001 From: 423A35C7 <609514299@qq.com> Date: Sun, 24 Mar 2024 22:21:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E5=80=92=E8=AE=A1=E6=97=B6=E6=97=B6=E5=8E=9F=E5=85=88=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E4=BF=9D=E7=95=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- labcodes_answer/lab1_result/kern/trap/trap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/labcodes_answer/lab1_result/kern/trap/trap.c b/labcodes_answer/lab1_result/kern/trap/trap.c index 48ff5c4..a3099ee 100644 --- a/labcodes_answer/lab1_result/kern/trap/trap.c +++ b/labcodes_answer/lab1_result/kern/trap/trap.c @@ -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':