Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoNil committed May 8, 2024
1 parent ca41c71 commit 1c72634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ fn render_message(mut w: impl Write, config: &Config<'_>, msg: &Message, dbc: &D
writeln!(&mut w, "pub fn id(&self) -> u32 {{",)?;
{
let mut w = PadAdapter::wrap(&mut w);
writeln!(&mut w, "Self::MESSAGE_ID")?;
writeln!(&mut w, "Self::MESSAGE_ID & 0x1FFF_FFFF")?;
}
writeln!(&mut w, "}}")?;
writeln!(w)?;
Expand Down

0 comments on commit 1c72634

Please sign in to comment.