diff options
| author | XScorpion2 <rcalt2vt@gmail.com> | 2019-08-25 14:37:55 -0500 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-08-25 12:37:55 -0700 |
| commit | 957070a6b5886719557b6880afa7e3716548c18a (patch) | |
| tree | 68adde454ad00f5c74538b0927f76b7db7afcb09 /users/xulkal/timer_utils.c | |
| parent | f22c5c17b6fe069bec1241262a1c27eb89d3d3af (diff) | |
| download | qmk_firmware-957070a6b5886719557b6880afa7e3716548c18a.tar.gz qmk_firmware-957070a6b5886719557b6880afa7e3716548c18a.zip | |
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 review
Diffstat (limited to 'users/xulkal/timer_utils.c')
| -rw-r--r-- | users/xulkal/timer_utils.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/users/xulkal/timer_utils.c b/users/xulkal/timer_utils.c deleted file mode 100644 index 5f5d9a1eb..000000000 --- a/users/xulkal/timer_utils.c +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | #include "timer_utils.h" | ||
| 2 | |||
| 3 | bool timer_expired(uint16_t last) | ||
| 4 | { | ||
| 5 | return timer_read() - last < 0x8000; | ||
| 6 | } | ||
| 7 | |||
| 8 | bool timer_expired32(uint32_t last) | ||
| 9 | { | ||
| 10 | return timer_read32() - last < 0x80000000; | ||
| 11 | } | ||
| 12 | |||
