summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-23 16:40:54 +0000
committerQMK Bot <hello@qmk.fm>2022-03-23 16:40:54 +0000
commit5342caf172f49ccf6e13bc4593a020552e36ba66 (patch)
treee6f55c0589ad27f5987c3dd15d4612bee452adc9 /platforms
parenteca8782b54186e4fe6fb5ee9c75d04fa1b06bfd7 (diff)
parent4a3b4104feb7f0948a8b9f97b39534fc68c62e73 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'platforms')
-rw-r--r--platforms/chibios/drivers/serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/serial.c b/platforms/chibios/drivers/serial.c
index 6db5d85250..bb7b3c0554 100644
--- a/platforms/chibios/drivers/serial.c
+++ b/platforms/chibios/drivers/serial.c
@@ -171,7 +171,8 @@ void interrupt_handler(void *arg) {
checksum_computed += split_trans_initiator2target_buffer(trans)[i];
}
checksum_computed ^= 7;
- uint8_t checksum_received = serial_read_byte();
+
+ serial_read_byte();
sync_send();
// wait for the sync to finish sending