Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pdo: expand storage types to cover common units
Using e.g. si::u8::ElectricPotential with a base unit of decivolts can not be converted to milivolts (which is the obvious conversion) as the u8 milivolts range is only 0 - 255mv.. Same for current. Expand the storage to 16 bits so the full range can be exposes as milivolt/miliamp Signed-off-by: Sjoerd Simons <[email protected]>
- Loading branch information