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
parent
commit
4a3b4104fe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      platforms/chibios/drivers/serial.c

+ 2
- 1
platforms/chibios/drivers/serial.c View File

@ -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


Loading…
Cancel
Save