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/process_records.c | |
parent | f22c5c17b6fe069bec1241262a1c27eb89d3d3af (diff) |
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/process_records.c')
-rw-r--r-- | users/xulkal/process_records.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/users/xulkal/process_records.c b/users/xulkal/process_records.c index 245d4955fb..9c0274823b 100644 --- a/users/xulkal/process_records.c +++ b/users/xulkal/process_records.c @@ -1,6 +1,5 @@ #include "process_records.h" #include "custom_keycodes.h" -#include "timer_utils.h" #ifdef RGB_ENABLE #include "custom_rgb.h" @@ -34,7 +33,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) reset_timer = timer_read() + 500; - else if (timer_expired(reset_timer)) + else if (timer_expired(timer_read(), reset_timer)) reset_keyboard(); } return false; |