summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-08-12 09:53:55 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-08-12 09:53:55 +0800
commit4a797793167351c4aae41856ad39e85b6b670f80 (patch)
treef42ef9cedb44bc1f4454c8a153dfcea5ee430694
parent1201be83b7a29233372e6154851e4157e90f16c5 (diff)
Update bluetooth.c
-rw-r--r--keyboards/keychron/bluetooth/bluetooth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/keychron/bluetooth/bluetooth.c b/keyboards/keychron/bluetooth/bluetooth.c
index 3220fbc77f..481099af67 100644
--- a/keyboards/keychron/bluetooth/bluetooth.c
+++ b/keyboards/keychron/bluetooth/bluetooth.c
@@ -394,6 +394,9 @@ void bluetooth_low_battery_shutdown(void) {
#if defined(LOW_BAT_IND_INDEX)
indicator_battery_low_backlit_enable(false);
#endif
+ clear_keyboard();
+ send_keyboard_report();
+
bluetooth_disconnect();
}