Skip to content

Commit

Permalink
Add timerCount to start timer when web button is pressed
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmarcano committed Nov 25, 2023
1 parent 8108ca3 commit 9f9f600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ void initServer()
counter += time_in_seconds;
totalTimeInSeconds += time_in_seconds;
timerIsOn = true;
timerCount += 1;
}
else if (action == "reduce")
{
Expand Down

0 comments on commit 9f9f600

Please sign in to comment.