diff options
Diffstat (limited to 'users/spidey3/init.c')
| -rw-r--r-- | users/spidey3/init.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/users/spidey3/init.c b/users/spidey3/init.c index b92394609..273c2b289 100644 --- a/users/spidey3/init.c +++ b/users/spidey3/init.c | |||
| @@ -1,30 +1,28 @@ | |||
| 1 | #include "spidey3.h" | 1 | #include "spidey3.h" |
| 2 | 2 | ||
| 3 | void keyboard_post_init_user(void) { | 3 | void keyboard_post_init_user(void) { |
| 4 | print("keyboard_post_init_user\n"); | ||
| 5 | uprintf("\tdebug_enable=%u\n", debug_enable); | ||
| 6 | #ifdef RGBLIGHT_ENABLE | 4 | #ifdef RGBLIGHT_ENABLE |
| 7 | keyboard_post_init_user_rgb(); | 5 | keyboard_post_init_user_rgb(); |
| 8 | #endif | 6 | #endif |
| 9 | } | 7 | } |
| 10 | 8 | ||
| 11 | void eeconfig_init_user(void) { | 9 | void eeconfig_init_user(void) { |
| 12 | print("eeconfig_init_user\n"); | 10 | print("eeconfig_init_user\n"); |
| 13 | set_single_persistent_default_layer(_BASE); | 11 | set_single_persistent_default_layer(_BASE); |
| 14 | #ifdef UNICODEMAP_ENABLE | 12 | #ifdef UNICODEMAP_ENABLE |
| 15 | eeconfig_init_user_unicode(); | 13 | eeconfig_init_user_unicode(); |
| 16 | #endif | 14 | #endif |
| 17 | 15 | ||
| 18 | #ifdef RGBLIGHT_ENABLE | 16 | #ifdef RGBLIGHT_ENABLE |
| 19 | eeconfig_init_user_rgb(); | 17 | eeconfig_init_user_rgb(); |
| 20 | #endif | 18 | #endif |
| 21 | } | 19 | } |
| 22 | 20 | ||
| 23 | void shutdown_user() { | 21 | void shutdown_user() { |
| 24 | #ifdef RGBLIGHT_ENABLE | 22 | #ifdef RGBLIGHT_ENABLE |
| 25 | clear_rgb_layers(); | 23 | clear_rgb_layers(); |
| 26 | rgblight_enable(); | 24 | rgblight_enable(); |
| 27 | rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); | 25 | rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); |
| 28 | rgblight_sethsv_noeeprom(HSV_RED); | 26 | rgblight_sethsv_noeeprom(HSV_RED); |
| 29 | #endif | 27 | #endif |
| 30 | } | 28 | } |
