diff options
author | Drashna Jaelre <drashna@live.com> | 2021-05-25 09:24:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 09:24:01 -0700 |
commit | f461adbd1dffa178042a4805137918a4bec3c118 (patch) | |
tree | b0ae27e54c08157dfc88cfdaf8d94fbae1af9e87 /users/drashna/rgb_matrix_stuff.c | |
parent | cc815c4d830eb1ec8f1098b2f19fdfa99073a954 (diff) |
[Keymap] Update to Drashna keymap and user code (based on develop) (#12936)
Diffstat (limited to 'users/drashna/rgb_matrix_stuff.c')
-rw-r--r-- | users/drashna/rgb_matrix_stuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/drashna/rgb_matrix_stuff.c b/users/drashna/rgb_matrix_stuff.c index 573cc7bc9d..9e9e1e4279 100644 --- a/users/drashna/rgb_matrix_stuff.c +++ b/users/drashna/rgb_matrix_stuff.c @@ -62,7 +62,7 @@ __attribute__((weak)) void rgb_matrix_indicator_keymap(void) {} void matrix_scan_rgb_matrix(void) { #if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS) - if (userspace_config.rgb_matrix_idle_anim && rgb_matrix_get_mode() == RGB_MATRIX_TYPING_HEATMAP && timer_elapsed32(hypno_timer) > 15000) { + if (userspace_config.rgb_matrix_idle_anim && rgb_matrix_get_mode() == RGB_MATRIX_TYPING_HEATMAP && sync_timer_elapsed32(hypno_timer) > 15000) { rgb_matrix_mode_noeeprom(RGB_MATRIX_REST_MODE); } #endif @@ -79,7 +79,7 @@ void keyboard_post_init_rgb_matrix(void) { bool process_record_user_rgb_matrix(uint16_t keycode, keyrecord_t *record) { #if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS) - hypno_timer = timer_read32(); + hypno_timer = sync_timer_read32(); if (userspace_config.rgb_matrix_idle_anim && rgb_matrix_get_mode() == RGB_MATRIX_REST_MODE) { rgb_matrix_mode_noeeprom(RGB_MATRIX_TYPING_HEATMAP); } |