summaryrefslogtreecommitdiff
path: root/users/spidey3/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'users/spidey3/init.c')
-rw-r--r--users/spidey3/init.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/users/spidey3/init.c b/users/spidey3/init.c
index b923946093..273c2b2899 100644
--- a/users/spidey3/init.c
+++ b/users/spidey3/init.c
@@ -1,30 +1,28 @@
#include "spidey3.h"
void keyboard_post_init_user(void) {
- print("keyboard_post_init_user\n");
- uprintf("\tdebug_enable=%u\n", debug_enable);
#ifdef RGBLIGHT_ENABLE
- keyboard_post_init_user_rgb();
+ keyboard_post_init_user_rgb();
#endif
}
void eeconfig_init_user(void) {
- print("eeconfig_init_user\n");
- set_single_persistent_default_layer(_BASE);
+ print("eeconfig_init_user\n");
+ set_single_persistent_default_layer(_BASE);
#ifdef UNICODEMAP_ENABLE
- eeconfig_init_user_unicode();
+ eeconfig_init_user_unicode();
#endif
#ifdef RGBLIGHT_ENABLE
- eeconfig_init_user_rgb();
+ eeconfig_init_user_rgb();
#endif
}
void shutdown_user() {
#ifdef RGBLIGHT_ENABLE
- clear_rgb_layers();
- rgblight_enable();
- rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
- rgblight_sethsv_noeeprom(HSV_RED);
+ clear_rgb_layers();
+ rgblight_enable();
+ rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
+ rgblight_sethsv_noeeprom(HSV_RED);
#endif
}