From 5a0e459a381cd60d952e0e7d565da1329e7ac171 Mon Sep 17 00:00:00 2001 From: Michael Heinrichs Date: Sun, 18 Jun 2023 15:15:28 +0200 Subject: [PATCH] Do not set the single shot flag in the can frame (#263) --- src/can.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/can.rs b/src/can.rs index f7287642918..0195d4849e6 100644 --- a/src/can.rs +++ b/src/can.rs @@ -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) }; } @@ -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) }; }