Added OLED Display autoscroll during periods of OLED data inactivity (#6546)
* Added OLED Display autoscroll during periods of OLED data inactivity. * Fixing compile errors * Feedback from reviewbetter_chibios_wait 0.6.461
parent
f22c5c17b6
commit
957070a6b5
@ -1,12 +0,0 @@ |
||||
#include "timer_utils.h" |
||||
|
||||
bool timer_expired(uint16_t last) |
||||
{ |
||||
return timer_read() - last < 0x8000; |
||||
} |
||||
|
||||
bool timer_expired32(uint32_t last) |
||||
{ |
||||
return timer_read32() - last < 0x80000000; |
||||
} |
||||
|
@ -1,6 +0,0 @@ |
||||
#pragma once |
||||
#include "timer.h" |
||||
#include <stdbool.h> |
||||
|
||||
bool timer_expired(uint16_t last); |
||||
bool timer_expired32(uint32_t last); |
Loading…
Reference in new issue