mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-02-13 16:05:13 +00:00
uncomplicate crc printing
This commit is contained in:
parent
36776c7ba8
commit
f9f640e9a5
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ fn main() -> ! {
|
||||||
crc
|
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),
|
Err(Error::Timeout) => defmt::error!("no response within {} ms", TEN_MS / 1_000),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue