From 477a7b693cc2b206e98e2d893e3b4cff379d4679 Mon Sep 17 00:00:00 2001 From: occheung Date: Mon, 18 Sep 2023 19:56:41 -0700 Subject: [PATCH] remove debug for converter --- artiq/coredevice/shuttler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/coredevice/shuttler.py b/artiq/coredevice/shuttler.py index 60bd00593..43809b2b8 100644 --- a/artiq/coredevice/shuttler.py +++ b/artiq/coredevice/shuttler.py @@ -9,8 +9,7 @@ from artiq.language.units import us @portable def shuttler_volt_to_mu(volt): - # TODO: Check arg, raise exception if exceeds shuttler limit - return int(round((1 << 14) * (volt / 20.0))) & 0x3fff + return round((1 << 14) * (volt / 20.0)) & 0x3fff class Config: