Skip to content

Commit

Permalink
[Bug] Fix unused variable error when using ChibiOS Bitbang serial dri…
Browse files Browse the repository at this point in the history
…ver (qmk#16709)
  • Loading branch information
drashna authored and zykrah committed Jul 2, 2022
1 parent 184d39a commit 188ba5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platforms/chibios/drivers/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 188ba5a

Please sign in to comment.