Skip to content

Commit

Permalink
Add TODO to remove println timestamp (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 authored May 31, 2024
1 parent a52f505 commit b4a798d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/board/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@

## 0.1.0

<!-- Increment to skip CHANGELOG.md test: 21 -->
<!-- Increment to skip CHANGELOG.md test: 22 -->
1 change: 1 addition & 0 deletions crates/board/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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);
}
Expand Down

0 comments on commit b4a798d

Please sign in to comment.