Skip to content

Commit dba870b

Browse files
committed
Expose len8_dlc field of can_frame struct on Linux
1 parent dfc0023 commit dba870b

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ s_no_extra_traits! {
15511551
pub can_dlc: u8,
15521552
__pad: u8,
15531553
__res0: u8,
1554-
__res1: u8,
1554+
pub len8_dlc: u8,
15551555
pub data: [u8; CAN_MAX_DLEN],
15561556
}
15571557

0 commit comments

Comments
 (0)