Browse Source

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

x86-32
423A35C7 9 months ago
parent
commit
7795b72eb6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      labcodes_answer/lab1_result/kern/trap/trap.c

+ 1
- 0
labcodes_answer/lab1_result/kern/trap/trap.c 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':

Loading…
Cancel
Save