Skip to content

Commit

Permalink
novatech409b: fix get_status
Browse files Browse the repository at this point in the history
sbourdeauducq committed Sep 23, 2016
1 parent 2d6171e commit fac0c68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion artiq/devices/novatech409b/driver.py
Original file line number Diff line number Diff line change
@@ -177,7 +177,8 @@ async def get_status(self):
"00989680 2000 01F5 0000 00000000 00000000 000301",
"80 BC0000 0000 0102 21"]
else:
self.port.reset_input_buffer()
self.port.ser.reset_input_buffer()
result = []
await self.port.write(("QUE" + "\r\n").encode())
for i in range(5):
m = (await self._ser_readline()).rstrip().decode()

0 comments on commit fac0c68

Please sign in to comment.