diff options
author | QMK Bot <hello@qmk.fm> | 2022-03-23 16:40:54 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-03-23 16:40:54 +0000 |
commit | 5342caf172f49ccf6e13bc4593a020552e36ba66 (patch) | |
tree | e6f55c0589ad27f5987c3dd15d4612bee452adc9 /platforms/chibios | |
parent | eca8782b54186e4fe6fb5ee9c75d04fa1b06bfd7 (diff) | |
parent | 4a3b4104feb7f0948a8b9f97b39534fc68c62e73 (diff) | |
download | qmk_firmware-5342caf172f49ccf6e13bc4593a020552e36ba66.tar.gz qmk_firmware-5342caf172f49ccf6e13bc4593a020552e36ba66.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'platforms/chibios')
-rw-r--r-- | platforms/chibios/drivers/serial.c | 3 |
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 |