Skip to content

Commit

Permalink
devices/thorlabs_tcube: minor cleanup
Browse files Browse the repository at this point in the history
sbourdeauducq committed Nov 25, 2015
1 parent 178f3cd commit e1e082e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions artiq/devices/thorlabs_tcube/driver.py
Original file line number Diff line number Diff line change
@@ -4,8 +4,6 @@

import serial

from artiq.language.units import V


logger = logging.getLogger(__name__)

@@ -174,7 +172,7 @@ def send(self, port):

@classmethod
def recv(cls, port):
(header, ) = st.unpack("6s", port.read(6))
header = port.read(6)
logger.debug("received header: %s", header)
data = b""
if header[4] & 0x80:

0 comments on commit e1e082e

Please sign in to comment.