From 8513f0b0d473803910e57df4ba9e5cc0516a3871 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 21 May 2018 15:35:00 +0800 Subject: [PATCH] minor cleanup --- artiq/coredevice/sampler.py | 1 - artiq/examples/kasli_basic/device_db_mitll.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/artiq/coredevice/sampler.py b/artiq/coredevice/sampler.py index 7ede3a21f..8cf80f071 100644 --- a/artiq/coredevice/sampler.py +++ b/artiq/coredevice/sampler.py @@ -1,4 +1,3 @@ - from artiq.language.core import kernel, delay, portable from artiq.language.units import ns diff --git a/artiq/examples/kasli_basic/device_db_mitll.py b/artiq/examples/kasli_basic/device_db_mitll.py index 45f13457b..e7ae94ac4 100644 --- a/artiq/examples/kasli_basic/device_db_mitll.py +++ b/artiq/examples/kasli_basic/device_db_mitll.py @@ -115,19 +115,19 @@ for i in range(2): "module": "artiq.coredevice.spi2", "class": "SPIMaster", "arguments": {"channel": 14+3*i+0} - }, + } device_db["ttl_zotino{}_ldac".format(i)] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 14+3*i+1} - }, + } device_db["ttl_zotino{}_clr".format(i)] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 14+3*i+2} - }, + } device_db["zotino{}".format(i)] = { "type": "local", "module": "artiq.coredevice.zotino",