Skip to content

Commit

Permalink
Fix ability to set base time in simple linear test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1ol committed Jul 14, 2024
1 parent 2e38b41 commit 6c698eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Modes/LinearTestMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ LinearTestMode::LinearTestMode(bool splitGrade) : kSplit(splitGrade) {

void LinearTestMode::switchMode() {
m_step = ADD_TO_ENUM(Step, m_step, 1);
if (m_step == Step::baseTime && !kSplit)
m_step = Step::initTime;

m_currentRun = kSplit ? 0 : 1;
gTimer.reset();
}
Expand Down

0 comments on commit 6c698eb

Please sign in to comment.