Skip to content

Commit

Permalink
Fix MK2(.5) SN not working on multi-instance images
Browse files Browse the repository at this point in the history
  • Loading branch information
TojikCZ authored and ondratu committed Jul 19, 2023
1 parent 15aa314 commit 257dd0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- Hide zero temperatures in telemetry
- Add support to be running behind the proxy
* Hold the STOPPED and FINISHED state for at least 11s
* Fix MK2(.5)S SN being broken on multi-instance images

0.7.0 (2023-05-19)
* Fixed printer sends info about api key change to Connect after change
Expand Down
4 changes: 3 additions & 1 deletion prusa/link/serial/serial_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ def _reopen(self) -> bool:
paths.extend(glob.glob("/dev/ttyACM*"))
paths.extend(glob.glob("/dev/ttyUSB*"))
else:
paths = [self.configured_port]
# Follow symlinks to the real device file
device_path = os.path.relpath(self.configured_port)
paths = [device_path]

# Pair the usb printer paths with their serial numbers
usb_printers = {
Expand Down

0 comments on commit 257dd0b

Please sign in to comment.