Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
JannesBrands committed Feb 22, 2024
1 parent d541b5e commit 4b32adf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/forward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ fn main() {

#[cfg(target_os = "linux")]
|opts: Options| {
let (input, output) = open_can_interface(&opts.input_interface, &opts.output_interface);
let (mut input, mut output) =
open_can_interface(&opts.input_interface, &opts.output_interface);
input
.set_nonblocking(true)
.expect("Could not set input bus to non-blocking!");
Expand All @@ -73,5 +74,5 @@ fn main() {
Err(_err) => continue,
}
}
}
};
}

0 comments on commit 4b32adf

Please sign in to comment.