fmckeogh / usb-pd-rs

USB-PD and associated hardware driver libraries in Rust
MIT License
19 stars 4 forks source link

Add units to avoid conversion errors #1

Closed fmckeogh closed 5 months ago

fmckeogh commented 1 year ago

API makes frequent use of 100mV, 10mV, etc increments: these need separate types to avoid misuse.