Skip to content

Commit 7710166

Browse files
Fixed bug forgetting to update the index for the axis mapper
1 parent 417e723 commit 7710166

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

microscope/controllers/asi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ def __init__(self, port: str, baudrate: int, timeout: float) -> None:
226226
_logger.info(f"Axis {axis} present")
227227
self.axis_info[axis] = parse_info(answer)
228228
self._axis_mapper[i] = axis
229+
i += 1
229230
except:
230231
print("Unable to read configuration. Is ASI controller connected?")
231232
return

0 commit comments

Comments
 (0)