aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/numpad_5x6/bjohnson/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/numpad_5x6/bjohnson/keymap.c')
-rw-r--r--layouts/community/numpad_5x6/bjohnson/keymap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/community/numpad_5x6/bjohnson/keymap.c b/layouts/community/numpad_5x6/bjohnson/keymap.c
index 79e87e69f..4b15ccdfb 100644
--- a/layouts/community/numpad_5x6/bjohnson/keymap.c
+++ b/layouts/community/numpad_5x6/bjohnson/keymap.c
@@ -25,9 +25,10 @@ void keyboard_post_init_user(void) {
25 uint8_t temp_mode = rgblight_config.mode; 25 uint8_t temp_mode = rgblight_config.mode;
26 rgblight_enable_noeeprom(); 26 rgblight_enable_noeeprom();
27 rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); 27 rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
28 for (uint16_t i = 360; i > 0; i--) { 28 for (uint16_t i = 255; i > 0; i--) {
29 rgblight_sethsv_noeeprom( ( i + 180) % 360, 255, 255); 29 rgblight_sethsv_noeeprom( ( i + 128) % 255, 255, 255);
30 wait_ms(8); 30 matrix_scan();
31 wait_ms(10);
31 } 32 }
32 led_set_user(host_keyboard_leds()); 33 led_set_user(host_keyboard_leds());
33 rgblight_mode_noeeprom(temp_mode); 34 rgblight_mode_noeeprom(temp_mode);