Skip to content

Commit

Permalink
Do not set the single shot flag in the can frame (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phosfor authored Jun 18, 2023
1 parent bf4a5af commit 5a0e459
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/can.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,6 @@ impl Frame {
let mut flags = twai_message_t__bindgen_ty_1::default();

// set bits in an union
unsafe { flags.__bindgen_anon_1.set_ss(1) };
if extended {
unsafe { flags.__bindgen_anon_1.set_extd(1) };
}
Expand Down Expand Up @@ -692,7 +691,6 @@ impl Frame {

// set bits in an union
unsafe { flags.__bindgen_anon_1.set_rtr(1) };
unsafe { flags.__bindgen_anon_1.set_ss(1) };
if extended {
unsafe { flags.__bindgen_anon_1.set_extd(1) };
}
Expand Down

0 comments on commit 5a0e459

Please sign in to comment.