Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Mar 21, 2024
1 parent 7e3bb17 commit 8fa39b2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions examples/src/bin/twai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,6 @@ fn main() -> ! {
let frame = Frame::new(StandardId::ZERO, &[1, 2, 3]).unwrap();
block!(can.transmit(&frame)).unwrap();
println!("Sent a frame");

// unsafe {
// let mut old = 0;
// loop {
// let new = esp_hal::peripherals::TWAI0::steal().interrupt().read().bits();
// if new != old {
// old = new;
// println!("{:032b}", new);
// }

// }
// }
}

// Wait for a frame to be received.
Expand Down

0 comments on commit 8fa39b2

Please sign in to comment.