From 804e69b144fb12904046133005a88bf34ac71bd2 Mon Sep 17 00:00:00 2001 From: Chris Ballance Date: Tue, 7 Mar 2017 00:17:40 +0000 Subject: [PATCH] language: add "W" (Watt) to units --- artiq/language/units.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/language/units.py b/artiq/language/units.py index 8c5266c74..d57fd860b 100644 --- a/artiq/language/units.py +++ b/artiq/language/units.py @@ -19,3 +19,4 @@ _register_unit("Hz", "_kMG") _register_unit("dB", "_") _register_unit("V", "um_k") _register_unit("A", "um_") +_register_unit("W", "um_")