Skip to content

Commit

Permalink
frame is already the right type
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Mar 13, 2024
1 parent 1bb3a68 commit 601062f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socketcan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl CanAdapter for SocketCan {
while let Ok((frame, meta)) = self.socket.read_frame_with_meta() {
let mut frame: crate::can::Frame = frame.into();
frame.loopback = meta.loopback;
frames.push(frame.into());
frames.push(frame);
}

Ok(frames)
Expand Down

0 comments on commit 601062f

Please sign in to comment.