Skip to content

Commit

Permalink
still deserialize crc if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrumley committed Jul 12, 2023
1 parent 5698712 commit 9a8bac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/sbp/src/messages/invalid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub struct Invalid {
#[cfg_attr(feature = "serde", serde(default, skip_serializing, alias = "sender"))]
pub sender_id: Option<u16>,
/// The crc that was in the frame
#[cfg_attr(feature = "serde", serde(default, skip))]
#[cfg_attr(feature = "serde", serde(default, skip_serializing))]
pub crc: Option<u16>,
#[cfg_attr(feature = "serde", serde(default, skip))]
pub invalid_frame: Vec<u8>,
Expand Down

0 comments on commit 9a8bac0

Please sign in to comment.