We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc8073 commit 3a1f4feCopy full SHA for 3a1f4fe
1 file changed
src/displayapp/screens/Timer.cpp
@@ -105,7 +105,7 @@ void Timer::UpdateMask() {
105
void Timer::Refresh() {
106
if (timer.IsRunning()) {
107
DisplayTime();
108
- } else if (buttonPressing && xTaskGetTickCount() > pressTime + pdMS_TO_TICKS(150)) {
+ } else if (buttonPressing && xTaskGetTickCount() - pressTime > pdMS_TO_TICKS(150)) {
109
lv_label_set_text_static(txtPlayPause, "Reset");
110
maskPosition += 15;
111
if (maskPosition > 240) {
0 commit comments