uncomplicate crc printing

This commit is contained in:
Lotte Steenbrink 2021-06-04 16:57:49 +02:00 committed by Mirabellensaft
parent 36776c7ba8
commit f9f640e9a5

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