workan on da changeport

This commit is contained in:
2025-11-30 05:55:13 -07:00
parent 05d1ca2d43
commit 51881f8579
2 changed files with 4 additions and 5 deletions
+4 -5
View File
@@ -16,19 +16,18 @@ function subprocess() {
ttyselect="${devarr[$tty+1]}"
else
echo -e "\nNo Serial Devices Found, Select one later with 'changeport'\n"
fi
fi
sel=$tty+1
eval "$1=${devarr[$sel]}"
ret="${devarr[$sel]}"
return 0
}
if [ ! -z "$1" ]; then
ret="$1"
else
ret=''
subprocess ret
ret=""
subprocess
fi
export ESPPORT="$ret"