diff options
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/main.ino | 2 | ||||
-rw-r--r-- | src/device/screen.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device/main.ino b/src/device/main.ino index bfd365a..fc307f9 100644 --- a/src/device/main.ino +++ b/src/device/main.ino @@ -99,7 +99,7 @@ void loop(void) udp_init_packet(com_port); udp_push(progstate.heartbeat.data, progstate.heartbeat.cursor + 1); udp_flush(); - progstate.hbcounter = 2; + progstate.hbcounter = 5; } if (progstate.ip_print_count) { 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; |