Commit 7392eb45 authored by blissadm_ID31@bibhelm's avatar blissadm_ID31@bibhelm Committed by Matias Guijarro

icepap: ?STATUS does not work for LinkedAxis

parent 06985c6e
......@@ -196,7 +196,7 @@ class Icepap(Controller):
status = axis._state()
else:
last_power_time = self._last_axis_power_time.get(axis, 0)
if time.time() - last_power_time < 1.0:
if time.time() - last_power_time < 1.0 and not isinstance(axis, LinkedAxis):
status = int(_command(self._cnx, "%s:?STATUS" % axis.address), 16)
else:
self._last_axis_power_time.pop(axis, None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment