aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hineybush/hbcp/hbcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hineybush/hbcp/hbcp.c')
-rw-r--r--keyboards/hineybush/hbcp/hbcp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/hineybush/hbcp/hbcp.c b/keyboards/hineybush/hbcp/hbcp.c
index cd5320f6e..e2513023e 100644
--- a/keyboards/hineybush/hbcp/hbcp.c
+++ b/keyboards/hineybush/hbcp/hbcp.c
@@ -67,6 +67,15 @@ void led_set_kb(uint8_t usb_led) {
67 led_set_user(usb_led); 67 led_set_user(usb_led);
68} 68}
69 69
70void eeconfig_init_kb(void) { // EEPROM is getting reset!
71 rgblight_enable(); // Enable RGB by default
72 rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness
73 rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
74
75 eeconfig_update_kb(0);
76 eeconfig_init_user();
77}
78
70#ifdef RGBLIGHT_ENABLE 79#ifdef RGBLIGHT_ENABLE
71 80
72__attribute__ ((weak)) 81__attribute__ ((weak))