Skip to content

Commit

Permalink
fw: Remove debugging the Format output of Messages, it's too slow.
Browse files Browse the repository at this point in the history
  • Loading branch information
projectgus committed Nov 9, 2024
1 parent 5a1df48 commit 77d50de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ mod app {
);
}
Ok(msg) => {
defmt::debug!("PCAN RX {:?}", msg); // +25KB of code(!)
defmt::trace!("RAW RX {:?}", frame);
// msg implements Format but reporting it here results in RX overruns
defmt::trace!("PCAN RX {:?}", frame);

car.lock(|car| car.update_state(&msg));
}
Expand Down

0 comments on commit 77d50de

Please sign in to comment.