Skip to content

Commit

Permalink
match also ttyS4 on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tl-sl committed Nov 13, 2024
1 parent 731538d commit 3d34629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smlight_cc_flasher/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def config_logging(self, log_level):

def validate_device(self, value):
windows_pattern = r"^COM\d+$"
linux_pattern = r"^/dev/tty(USB|ACM)\d+$"
linux_pattern = r"^/dev/tty(USB|ACM|S)\d+$"
macos_pattern = r"^/dev/tty\.(usbserial|usbmodem)[A-Za-z0-9.-]+$"
socket_pattern = r"^socket://[A-Za-z0-9.-]+:\d+$"

Expand Down

0 comments on commit 3d34629

Please sign in to comment.