uncomplicate crc printing

This commit is contained in:
Lotte Steenbrink 2021-06-04 16:57:49 +02:00
parent 9e9b74e93d
commit eaa60131fb

View file

@ -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),
}