mirror of https://github.com/m-labs/artiq.git
remove debug for converter
This commit is contained in:
parent
f2694f25eb
commit
477a7b693c
|
@ -9,8 +9,7 @@ from artiq.language.units import us
|
||||||
|
|
||||||
@portable
|
@portable
|
||||||
def shuttler_volt_to_mu(volt):
|
def shuttler_volt_to_mu(volt):
|
||||||
# TODO: Check arg, raise exception if exceeds shuttler limit
|
return round((1 << 14) * (volt / 20.0)) & 0x3fff
|
||||||
return int(round((1 << 14) * (volt / 20.0))) & 0x3fff
|
|
||||||
|
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
|
|
Loading…
Reference in New Issue