Skip to content

Commit

Permalink
20240719 1344 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan-CRL committed Jul 19, 2024
1 parent c41fcda commit 04a3b36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 智绘教/IdtUpdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ void AutomaticUpdate()
bool update = true;

bool against = false;
int updateTimes = 0;

while (!offSignal)
for (; !offSignal && updateTimes <= 10; updateTimes++)
{
AutomaticUpdateStep = 1;

Expand Down Expand Up @@ -495,6 +496,7 @@ void AutomaticUpdate()

this_thread::sleep_for(chrono::seconds(1));
}
updateTimes = 0;
}
}
}

0 comments on commit 04a3b36

Please sign in to comment.