diff options
author | hineybush <hineybushkeyboards@gmail.com> | 2020-01-03 14:32:54 -0500 |
---|---|---|
committer | hineybush <hineybushkeyboards@gmail.com> | 2020-01-03 14:32:54 -0500 |
commit | 2dc0fd2b500f01b36bc9ec74b87795707d503c48 (patch) | |
tree | 60c776ec5f836cdefb6beae492120a1b1d3fc80d /keyboards/hineybush/hbcp/hbcp.c | |
parent | 48eda75c838b786d688bb5066de851ee86937ad6 (diff) | |
download | qmk_firmware-2dc0fd2b500f01b36bc9ec74b87795707d503c48.tar.gz qmk_firmware-2dc0fd2b500f01b36bc9ec74b87795707d503c48.zip |
small hbcp changes
Diffstat (limited to 'keyboards/hineybush/hbcp/hbcp.c')
-rw-r--r-- | keyboards/hineybush/hbcp/hbcp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/hineybush/hbcp/hbcp.c b/keyboards/hineybush/hbcp/hbcp.c index cd5320f6e5..e2513023e0 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) { led_set_user(usb_led); } +void eeconfig_init_kb(void) { // EEPROM is getting reset! + rgblight_enable(); // Enable RGB by default + rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness + rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default + + eeconfig_update_kb(0); + eeconfig_init_user(); +} + #ifdef RGBLIGHT_ENABLE __attribute__ ((weak)) |