From f9f640e9a5e3a8763a9a0892f14af30ce63a459e Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Fri, 4 Jun 2021 16:57:49 +0200 Subject: [PATCH] uncomplicate crc printing --- beginner/apps/src/bin/radio-recv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner/apps/src/bin/radio-recv.rs b/beginner/apps/src/bin/radio-recv.rs index d1f4fe3..e3642b0 100644 --- a/beginner/apps/src/bin/radio-recv.rs +++ b/beginner/apps/src/bin/radio-recv.rs @@ -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), }