[Bug] Fix unused variable error when using ChibiOS Bitbang serial driver (#16709)

This commit is contained in:
Drashna Jaelre 2022-03-23 09:38:51 -07:00 committed by GitHub
parent 08aa54b66f
commit 4a3b4104fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,7 +171,8 @@ void interrupt_handler(void *arg) {
checksum_computed += split_trans_initiator2target_buffer(trans)[i]; checksum_computed += split_trans_initiator2target_buffer(trans)[i];
} }
checksum_computed ^= 7; checksum_computed ^= 7;
uint8_t checksum_received = serial_read_byte();
serial_read_byte();
sync_send(); sync_send();
// wait for the sync to finish sending // wait for the sync to finish sending