summaryrefslogtreecommitdiffstats
path: root/app/oled2.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/oled2.c')
-rw-r--r--app/oled2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/oled2.c b/app/oled2.c
index 93b9d0d..bccb4ba 100644
--- a/app/oled2.c
+++ b/app/oled2.c
@@ -64,7 +64,7 @@ oled2_ticker (void)
refresh_wdt++;
- if ((refresh_wdt < 1000) && (!oled_sad))
+ if ((refresh_wdt < MS_TO_TICKS (1000)) && (!oled_sad))
return;
refresh_wdt = 0;