devices/thorlabs_tcube: remove unnecessary attribute

This commit is contained in:
Sebastien Bourdeauducq 2015-11-24 15:51:55 +08:00
parent 91a8acf304
commit 2503dcd837

View File

@ -204,7 +204,6 @@ class Message:
class Tcube: class Tcube:
def __init__(self, serial_dev): def __init__(self, serial_dev):
self.serial_dev = serial_dev
self.port = serial.serial_for_url(serial_dev, baudrate=115200, self.port = serial.serial_for_url(serial_dev, baudrate=115200,
rtscts=True) rtscts=True)
self.status_report_counter = 0 self.status_report_counter = 0