technocreatives / dbc-codegen

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

dont assign signed integers to unsigned integers #62

Closed linusharberg closed 8 months ago

linusharberg commented 8 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