aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hineybush/h87a/h87a.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hineybush/h87a/h87a.c')
-rw-r--r--keyboards/hineybush/h87a/h87a.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/hineybush/h87a/h87a.c b/keyboards/hineybush/h87a/h87a.c
index 2ce469b69..c3bb89080 100644
--- a/keyboards/hineybush/h87a/h87a.c
+++ b/keyboards/hineybush/h87a/h87a.c
@@ -42,4 +42,11 @@ void led_set_kb(uint8_t usb_led) {
42 led_set_user(usb_led); 42 led_set_user(usb_led);
43} 43}
44 44
45 45void eeconfig_init_kb(void) { // EEPROM is getting reset!
46 rgblight_enable(); // Enable RGB by default
47 rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness
48 rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
49
50 eeconfig_update_kb(0);
51 eeconfig_init_user();
52}