From 6ac532a00e56e18a46add0d58ba4a0d23d37b3b6 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Wed, 10 Apr 2024 10:32:33 +0800 Subject: [PATCH] moninj: clean up imports --- artiq/dashboard/moninj.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/artiq/dashboard/moninj.py b/artiq/dashboard/moninj.py index c3fc75dee..a042ba797 100644 --- a/artiq/dashboard/moninj.py +++ b/artiq/dashboard/moninj.py @@ -3,14 +3,10 @@ import logging import textwrap from collections import namedtuple -from PyQt5 import QtCore, QtWidgets, QtGui +from PyQt5 import QtCore, QtWidgets -from artiq.coredevice.comm_moninj import * -from artiq.coredevice.ad9910 import ( - _AD9910_REG_PROFILE0, _AD9910_REG_PROFILE7, - _AD9910_REG_FTW, _AD9910_REG_CFR1 -) -from artiq.coredevice.ad9912_reg import AD9912_POW1, AD9912_SER_CONF +from artiq.coredevice.comm_moninj import CommMonInj, TTLOverride, TTLProbe +from artiq.coredevice.ad9912_reg import AD9912_SER_CONF from artiq.gui.tools import LayoutWidget from artiq.gui.flowlayout import FlowLayout