summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keyboards/keychron/bluetooth/bluetooth.c3
-rwxr-xr-xkeyboards/keychron/k11_pro/ansi_encoder/rgb/info.json2
-rwxr-xr-xkeyboards/keychron/k11_pro/ansi_encoder/white/info.json2
-rw-r--r--platforms/chibios/eeprom_stm32_l4.c2
4 files changed, 6 insertions, 3 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();
}
diff --git a/keyboards/keychron/k11_pro/ansi_encoder/rgb/info.json b/keyboards/keychron/k11_pro/ansi_encoder/rgb/info.json
index cd3d7e41ab..973cbb155a 100755
--- a/keyboards/keychron/k11_pro/ansi_encoder/rgb/info.json
+++ b/keyboards/keychron/k11_pro/ansi_encoder/rgb/info.json
@@ -1,7 +1,7 @@
{
"usb": {
"pid": "0x02B6",
- "device_version": "1.0.0"
+ "device_version": "1.0.1"
},
"features": {
"encoder": true,
diff --git a/keyboards/keychron/k11_pro/ansi_encoder/white/info.json b/keyboards/keychron/k11_pro/ansi_encoder/white/info.json
index a84750251c..d2b3825b97 100755
--- a/keyboards/keychron/k11_pro/ansi_encoder/white/info.json
+++ b/keyboards/keychron/k11_pro/ansi_encoder/white/info.json
@@ -1,7 +1,7 @@
{
"usb": {
"pid": "0x02B9",
- "device_version": "1.0.0"
+ "device_version": "1.0.1"
},
"features": {
"encoder": true,
diff --git a/platforms/chibios/eeprom_stm32_l4.c b/platforms/chibios/eeprom_stm32_l4.c
index 33a6d284c8..37e9b27266 100644
--- a/platforms/chibios/eeprom_stm32_l4.c
+++ b/platforms/chibios/eeprom_stm32_l4.c
@@ -523,7 +523,7 @@ void eeprom_read_block(void *buf, const void *addr, size_t len) {
/* Check word alignment */
if (len && (uint32_t)src % 2) {
/* Read the unaligned first byte */
- *dest++ = EEPROM_ReadDataByte((const uintptr_t)((uint16_t *)src));
+ *dest++ = EEPROM_ReadDataByte((const uintptr_t)((uint16_t *)src++));
--len;
}