2
0
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:
Yann Sionneau 2015-02-20 17:37:54 +01:00 committed by Sebastien Bourdeauducq
parent 9485372277
commit 1b5944257e

View File

@ -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):