From e037d167f41ae48c1d7cfb865b4efe4f239935f1 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Wed, 12 Oct 2016 23:45:17 +0100 Subject: [PATCH] language: Add "A" (ampere) as well-known unit for arguments Signed-off-by: David Nadlinger --- artiq/language/units.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/language/units.py b/artiq/language/units.py index 83f1133a8..8c5266c74 100644 --- a/artiq/language/units.py +++ b/artiq/language/units.py @@ -18,3 +18,4 @@ _register_unit("s", "pnum_") _register_unit("Hz", "_kMG") _register_unit("dB", "_") _register_unit("V", "um_k") +_register_unit("A", "um_")