diff --git a/lib.sh b/lib.sh index 69e5bf4..ddd243f 100644 --- a/lib.sh +++ b/lib.sh @@ -89,7 +89,7 @@ # For Windows, try to detect COM ports # Note: This works in Git Bash or similar environments # echo $OS_TYPE - for num in {4..20}; do + for num in {3..20}; do if [ -e "/dev/ttyS$((num-1))" ]; then PORT="COM$num" break