summaryrefslogtreecommitdiff
path: root/keyboards/massdrop
diff options
context:
space:
mode:
authorPhil Hollenback <philiph@pobox.com>2023-04-02 19:56:24 -0700
committerGitHub <noreply@github.com>2023-04-03 12:56:24 +1000
commit162d6156d337016a568d42e88acb30eb558df69c (patch)
tree044262ae9c61b8e197b9ced48d6db3397b1aa2ee /keyboards/massdrop
parentfe58538b8f471e6a794702ee22248d771603d35b (diff)
Allow a larger int for the idle timeout for urbanvanilla keymap (#19738)
Diffstat (limited to 'keyboards/massdrop')
-rw-r--r--keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c b/keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c
index e1b6de116e..c5905d502f 100644
--- a/keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c
+++ b/keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c
@@ -49,7 +49,7 @@ uint8_t currentWPM;
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
static uint32_t key_timer;
-idle_timer = timer_read();
+idle_timer = timer_read32();
switch (keycode) {
@@ -146,7 +146,7 @@ idle_timer = timer_read();
void matrix_scan_user(void) {
//custom idle rbg switch off function
- if (timer_elapsed(idle_timer) > IDLE_TIMER_DURATION) {
+ if (timer_elapsed32(idle_timer) > IDLE_TIMER_DURATION) {
idle_timer = 0;
timer_clear();
rgbkeyIdle = true;