summaryrefslogtreecommitdiffstats
path: root/src/device/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/screen.cpp')
-rw-r--r--src/device/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/screen.cpp b/src/device/screen.cpp
index 076640f..d59b98d 100644
--- a/src/device/screen.cpp
+++ b/src/device/screen.cpp
@@ -49,7 +49,7 @@ end:
int display_update_scroll(struct display_status *status)
{
- time_t crr_time = time(NULL);
+ unsigned long crr_time = millis();
/* Only scroll lines once a delta, because --- duh! */
if (status->last_scroll_time - crr_time > status->delta) {
status->last_scroll_time += status->delta;