diff options
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 573cc7bc9..9e9e1e427 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) {} | |||
| 62 | 62 | ||
| 63 | void matrix_scan_rgb_matrix(void) { | 63 | void matrix_scan_rgb_matrix(void) { |
| 64 | #if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS) | 64 | #if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS) |
| 65 | if (userspace_config.rgb_matrix_idle_anim && rgb_matrix_get_mode() == RGB_MATRIX_TYPING_HEATMAP && timer_elapsed32(hypno_timer) > 15000) { | 65 | if (userspace_config.rgb_matrix_idle_anim && rgb_matrix_get_mode() == RGB_MATRIX_TYPING_HEATMAP && sync_timer_elapsed32(hypno_timer) > 15000) { |
| 66 | rgb_matrix_mode_noeeprom(RGB_MATRIX_REST_MODE); | 66 | rgb_matrix_mode_noeeprom(RGB_MATRIX_REST_MODE); |
| 67 | } | 67 | } |
| 68 | #endif | 68 | #endif |
| @@ -79,7 +79,7 @@ void keyboard_post_init_rgb_matrix(void) { | |||
| 79 | 79 | ||
| 80 | bool process_record_user_rgb_matrix(uint16_t keycode, keyrecord_t *record) { | 80 | bool process_record_user_rgb_matrix(uint16_t keycode, keyrecord_t *record) { |
| 81 | #if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS) | 81 | #if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS) |
| 82 | hypno_timer = timer_read32(); | 82 | hypno_timer = sync_timer_read32(); |
| 83 | if (userspace_config.rgb_matrix_idle_anim && rgb_matrix_get_mode() == RGB_MATRIX_REST_MODE) { | 83 | if (userspace_config.rgb_matrix_idle_anim && rgb_matrix_get_mode() == RGB_MATRIX_REST_MODE) { |
| 84 | rgb_matrix_mode_noeeprom(RGB_MATRIX_TYPING_HEATMAP); | 84 | rgb_matrix_mode_noeeprom(RGB_MATRIX_TYPING_HEATMAP); |
| 85 | } | 85 | } |
