diff options
author | lokher <lokher@gmail.com> | 2023-02-01 16:15:43 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2023-02-01 16:16:11 +0800 |
commit | ff0bd3ffc5e371fba6a05086f0bb921f71226181 (patch) | |
tree | 1ec7d2130272991b254ad2da69bd4a37ea9663fc /keyboards | |
parent | 03a173aceda3d12d9c7b02c7452bfe629e3732f9 (diff) |
remove keyboard_post_init_user in transport.c
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/keychron/bluetooth/bluetooth.c | 5 | ||||
-rw-r--r-- | keyboards/keychron/bluetooth/transport.c | 7 |
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 |