summaryrefslogtreecommitdiff
path: root/keyboards/ymdk_np21/ymdk_np21.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk_np21/ymdk_np21.c')
-rw-r--r--keyboards/ymdk_np21/ymdk_np21.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/ymdk_np21/ymdk_np21.c b/keyboards/ymdk_np21/ymdk_np21.c
index 670083a116..c1b11b4046 100644
--- a/keyboards/ymdk_np21/ymdk_np21.c
+++ b/keyboards/ymdk_np21/ymdk_np21.c
@@ -34,7 +34,7 @@ extern rgblight_config_t rgblight_config;
// @Override
void matrix_init_kb(void) {
// call user level keymaps, if any
- // matrix_init_user();
+ matrix_init_user();
}
#ifdef BACKLIGHT_ENABLE
@@ -67,7 +67,7 @@ void rgblight_set(void) {
}
bool rgb_init = false;
-void matrix_scan_user(void) {
+void matrix_scan_kb(void) {
// if LEDs were previously on before poweroff, turn them back on
if (rgb_init == false && rgblight_config.enable) {
i2c_init();
@@ -77,4 +77,6 @@ void matrix_scan_user(void) {
rgblight_task();
/* Nothing else for now. */
+
+ matrix_scan_user();
}