summaryrefslogtreecommitdiff
path: root/keyboards/system76/launch_1/launch_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/system76/launch_1/launch_1.c')
-rw-r--r--keyboards/system76/launch_1/launch_1.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/system76/launch_1/launch_1.c b/keyboards/system76/launch_1/launch_1.c
index 7a5000d9ba..dbe697c19d 100644
--- a/keyboards/system76/launch_1/launch_1.c
+++ b/keyboards/system76/launch_1/launch_1.c
@@ -139,12 +139,12 @@ void matrix_init_kb(void) {
}
system76_ec_rgb_layer(layer_state);
+
+ matrix_init_user();
}
-void matrix_scan_kb(void) {
+void housekeeping_task_kb(void) {
usb_mux_event();
-
- matrix_scan_user();
}
#define LEVEL(value) (uint8_t)(((uint16_t)value) * ((uint16_t)RGB_MATRIX_MAXIMUM_BRIGHTNESS) / ((uint16_t)255))
@@ -238,9 +238,11 @@ layer_state_t layer_state_set_kb(layer_state_t layer_state) {
}
#ifdef CONSOLE_ENABLE
-void keyboard_post_init_user(void) {
+void keyboard_post_init_kb(void) {
debug_enable = true;
debug_matrix = false;
debug_keyboard = false;
+
+ keyboard_post_init_user();
}
#endif // CONSOLE_ENABLE