diff --git a/embassy-nrf-examples/src/bin/buffered_uart.rs b/embassy-nrf-examples/src/bin/buffered_uart.rs index a1b2b4dd..bad8ee46 100644 --- a/embassy-nrf-examples/src/bin/buffered_uart.rs +++ b/embassy-nrf-examples/src/bin/buffered_uart.rs @@ -64,7 +64,7 @@ async fn run() { info!("reading..."); let mut buf = [0u8; 8]; unwrap!(u.read_exact(&mut buf).await); - info!("read done, got {:[u8]}", buf); + info!("read done, got {}", buf); // Reverse buf for i in 0..4 { diff --git a/embassy-nrf-examples/src/bin/multiprio.rs b/embassy-nrf-examples/src/bin/multiprio.rs index 89c285fa..1791a85e 100644 --- a/embassy-nrf-examples/src/bin/multiprio.rs +++ b/embassy-nrf-examples/src/bin/multiprio.rs @@ -90,7 +90,7 @@ async fn run_med() { let end = Instant::now(); let ms = end.duration_since(start).as_ticks() / 33; - info!(" [med] done in {:u64} ms", ms); + info!(" [med] done in {} ms", ms); Timer::after(Duration::from_ticks(23421)).await; } @@ -107,7 +107,7 @@ async fn run_low() { let end = Instant::now(); let ms = end.duration_since(start).as_ticks() / 33; - info!("[low] done in {:u64} ms", ms); + info!("[low] done in {} ms", ms); Timer::after(Duration::from_ticks(32983)).await; } diff --git a/embassy-nrf-examples/src/bin/qspi.rs b/embassy-nrf-examples/src/bin/qspi.rs index 39326fa0..850681d7 100644 --- a/embassy-nrf-examples/src/bin/qspi.rs +++ b/embassy-nrf-examples/src/bin/qspi.rs @@ -73,7 +73,7 @@ async fn run() { let mut id = [1; 3]; q.custom_instruction(0x9F, &[], &mut id).await.unwrap(); - info!("id: {:[u8]}", id); + info!("id: {}", id); // Read status register let mut status = [0; 1]; diff --git a/embassy-nrf-examples/src/bin/rtc_raw.rs b/embassy-nrf-examples/src/bin/rtc_raw.rs index 7c60bb56..017487da 100644 --- a/embassy-nrf-examples/src/bin/rtc_raw.rs +++ b/embassy-nrf-examples/src/bin/rtc_raw.rs @@ -48,15 +48,12 @@ fn main() -> ! { loop { let val2 = rtc.now(); if val2 < val { - info!( - "timer ran backwards! {:u32} -> {:u32}", - val as u32, val2 as u32 - ); + info!("timer ran backwards! {} -> {}", val as u32, val2 as u32); } val = val2; if val > printval + 32768 { - info!("tick {:u32}", val as u32); + info!("tick {}", val as u32); printval = val; } } diff --git a/embassy-nrf-examples/src/bin/uart.rs b/embassy-nrf-examples/src/bin/uart.rs index 8b540fca..50cdfd1e 100644 --- a/embassy-nrf-examples/src/bin/uart.rs +++ b/embassy-nrf-examples/src/bin/uart.rs @@ -76,7 +76,7 @@ async fn run(uart: pac::UARTE0, port: pac::P0) { let received = &mut buf[..received_len]; if !received.is_empty() { - info!("read done, got {:[u8]}", received); + info!("read done, got {}", received); // Echo back received data unwrap!(uart.send(received).await);