aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/timer/Timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/timer/Timer.cpp')
-rw-r--r--src/components/timer/Timer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/timer/Timer.cpp b/src/components/timer/Timer.cpp
index 4784cdb2..3ccffc7c 100644
--- a/src/components/timer/Timer.cpp
+++ b/src/components/timer/Timer.cpp
@@ -41,3 +41,7 @@ void Timer::StopTimer() {
bool Timer::IsRunning() {
return (xTimerIsTimerActive(timer) == pdTRUE);
}
+
+void Timer::ResetExpiredTime() {
+ triggered = false;
+}