From 6f01cbd6aa1d4aedc13af5965a7bdd75fa63d1b7 Mon Sep 17 00:00:00 2001 From: Julien Cretin Date: Sat, 1 Jun 2024 17:40:40 +0200 Subject: [PATCH] Revert "Add TODO to remove println timestamp" (#504) Reverts google/wasefire#502 The conclusion from https://github.com/knurling-rs/defmt/issues/844#issuecomment-2143064192 is that `println` should just print its input (no timestamp, no location). --- crates/board/CHANGELOG.md | 2 +- crates/board/src/debug.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/board/CHANGELOG.md b/crates/board/CHANGELOG.md index 1a756fcc..67f6f66a 100644 --- a/crates/board/CHANGELOG.md +++ b/crates/board/CHANGELOG.md @@ -133,4 +133,4 @@ ## 0.1.0 - + diff --git a/crates/board/src/debug.rs b/crates/board/src/debug.rs index 9c451722..43fadb01 100644 --- a/crates/board/src/debug.rs +++ b/crates/board/src/debug.rs @@ -23,7 +23,6 @@ pub trait Api: Send { /// Prints a line with timestamp. fn println(line: &str) { - // TODO(probe-rs-tools > 0.24.0): Call println! without timestamp. let time = Self::time(); log::println!("{}.{:06}: {}", time / 1000000, time % 1000000, line); }