diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2022-06-18 00:04:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 08:04:17 +1000 |
commit | fe680a8568d275732738b07166b8f8a950d1e282 (patch) | |
tree | 7bc27994919e1271c9f6effef2e5637442b3b02b /platforms/chibios/drivers/serial.c | |
parent | 6d67e9df4be6981de05517626c1a504da31abf16 (diff) |
[Core] Split ChibiOS usart split driver in protocol and hardware driver part (#16669)
Diffstat (limited to 'platforms/chibios/drivers/serial.c')
-rw-r--r-- | platforms/chibios/drivers/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/chibios/drivers/serial.c b/platforms/chibios/drivers/serial.c index 0cff057d1d..e5f346ba33 100644 --- a/platforms/chibios/drivers/serial.c +++ b/platforms/chibios/drivers/serial.c @@ -233,7 +233,7 @@ static inline bool initiate_transaction(uint8_t sstd_index) { // check if the slave is present if (serial_read_pin()) { // slave failed to pull the line low, assume not present - dprintf("serial::NO_RESPONSE\n"); + serial_dprintf("serial::NO_RESPONSE\n"); chSysUnlock(); return false; } @@ -269,7 +269,7 @@ static inline bool initiate_transaction(uint8_t sstd_index) { serial_delay(); if ((checksum_computed) != (checksum_received)) { - dprintf("serial::FAIL[%u,%u,%u]\n", checksum_computed, checksum_received, sstd_index); + serial_dprintf("serial::FAIL[%u,%u,%u]\n", checksum_computed, checksum_received, sstd_index); serial_output(); serial_high(); |