mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
units: add support for V (Volt)
This commit is contained in:
parent
9485372277
commit
1b5944257e
@ -215,6 +215,7 @@ def _register_unit(unit, prefixes):
|
||||
_register_unit("s", "pnum_")
|
||||
_register_unit("Hz", "_kMG")
|
||||
_register_unit("dB", "_")
|
||||
_register_unit("V", "um_k")
|
||||
|
||||
|
||||
def check_unit(value, unit):
|
||||
|
Loading…
Reference in New Issue
Block a user