Skip to content

Commit

Permalink
gate socketcan import
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed May 12, 2024
1 parent f9043a2 commit 5cb3cd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/isotp_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ async fn vecu_spawn(adapter: &AsyncCanAdapter, config: VECUConfig) -> ChildGuard
vecu
}

#[cfg(feature = "test_vcan")]
async fn isotp_test_echo(msg_len: usize, config: VECUConfig) {
let adapter = automotive::socketcan::SocketCan::new_async("vcan0").unwrap();
let _vecu = vecu_spawn(&adapter, config).await;
Expand Down

0 comments on commit 5cb3cd8

Please sign in to comment.