stm32-rs / fdcan

FDCAN peripheral driver for STM32 chips
Apache License 2.0
12 stars 14 forks source link

Expose protocol status and error properties #25

Closed yorickdewid closed 2 years ago

yorickdewid commented 2 years ago

Private fields are useless, unless you print the structure to debug.

yorickdewid commented 2 years ago

@richardeoin

richardeoin commented 2 years ago

Thanks for the PR @yorickdewid . These structs can also be marked #[non_exhaustive] to avoid breaking user code if more fields are added in future

bors[bot] commented 2 years ago

Build succeeded: