mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-25 07:18:08 +00:00
uncomplicate crc printing
This commit is contained in:
parent
9e9b74e93d
commit
eaa60131fb
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ fn main() -> ! {
|
|||
crc
|
||||
);
|
||||
}
|
||||
Err(Error::Crc(crc)) => defmt::error!("invalid CRC: {=u16:x}", crc),
|
||||
Err(Error::Crc(crc)) => defmt::error!("invalid CRC: {:X}", crc),
|
||||
Err(Error::Timeout) => defmt::error!("no response within {} ms", TEN_MS / 1_000),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue