Browse Source
[Bug] Fix unused variable error when using ChibiOS Bitbang serial driver (#16709)
pull/16717/head
0.16.7
Drashna Jaelre
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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 |
|
|
|