technocreatives / dbc-codegen

Generate Rust structs for messages from a dbc (CAN bus definition) file.
Apache License 2.0
48 stars 31 forks source link

dont assign signed integers to unsigned integers #62

Closed linusharberg closed 9 months ago

linusharberg commented 9 months ago

The compiler would assume a signals offset was unsigned if a signals value was unsigned, resulting in compiler errors if the offset was negative