Skip to content

Commit

Permalink
Fix imports for features = eh1
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Jan 6, 2024
1 parent db712fa commit 10e51fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp32c3-hal/examples/twai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const DELAY_MS: u32 = 1000;
// embedded-hal-0.2.7. embedded-can was split off from embedded-hal before it's
// upgrade to 1.0.0. cargo run --example twai --features eh1 --release
#[cfg(feature = "eh1")]
use embedded_can::{Frame, Id};
use embedded_can::{Frame, Id, StandardId};
// Run this example without the eh1 flag to use the embedded-hal 0.2.7 CAN traits.
// cargo run --example twai --release
#[cfg(not(feature = "eh1"))]
Expand Down

0 comments on commit 10e51fd

Please sign in to comment.