summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keyboards/keychron/bluetooth/bluetooth.c5
-rw-r--r--keyboards/keychron/bluetooth/transport.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/keychron/bluetooth/bluetooth.c b/keyboards/keychron/bluetooth/bluetooth.c
index 1ba8051f3a..ad133bc9b0 100644
--- a/keyboards/keychron/bluetooth/bluetooth.c
+++ b/keyboards/keychron/bluetooth/bluetooth.c
@@ -99,6 +99,11 @@ void bluetooth_init(void) {
lpm_init();
rtc_timer_init();
+
+#ifdef BLUETOOTH_NKRO_ENABLE
+ keymap_config.raw = eeconfig_read_keymap();
+ nkro.bluetooth = keymap_config.nkro;
+#endif
}
/*
diff --git a/keyboards/keychron/bluetooth/transport.c b/keyboards/keychron/bluetooth/transport.c
index 2cf69016fe..e5986de11b 100644
--- a/keyboards/keychron/bluetooth/transport.c
+++ b/keyboards/keychron/bluetooth/transport.c
@@ -188,10 +188,3 @@ void usb_remote_wakeup(void) {
send_keyboard_report();
}
}
-
-#ifdef BLUETOOTH_NKRO_ENABLE
-void keyboard_post_init_user(void) {
- keymap_config.raw = eeconfig_read_keymap();
- nkro.bluetooth = keymap_config.nkro;
-}
-#endif