forked from M-Labs/artiq
1
0
Fork 0

thorlabs_tcube: fix driver spelling issues

This commit is contained in:
Yann Sionneau 2015-03-04 16:17:54 +01:00 committed by Sebastien Bourdeauducq
parent 14c759ff89
commit 5b8691f7f5
1 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ class Tcube:
class Tpz(Tcube): class Tpz(Tcube):
def __init__(self, serial_dev): def __init__(self, serial_dev):
Tcube.__init__(self, serial_dev) Tcube.__init__(self, serial_dev)
self.voltage_limit = self.get_tpz_iosettings()[0].amount self.voltage_limit = self.get_tpz_io_settings()[0].amount
def handle_message(self, msg): def handle_message(self, msg):
msg_id = msg.id msg_id = msg.id
@ -1325,7 +1325,7 @@ class TpzSim:
def get_position_control_mode(self): def get_position_control_mode(self):
return self.control_mode return self.control_mode
def set_outputvolts(self, voltage): def set_output_volts(self, voltage):
self.voltage = voltage self.voltage = voltage
def get_output_volts(self): def get_output_volts(self):