more bugfixes 3

This commit is contained in:
2025-05-09 15:33:19 -06:00
parent 69f3a847f6
commit 8562a3ab66
+6 -4
View File
@@ -26,14 +26,16 @@ function selectBaud() {
5) selection=1152000;; 5) selection=1152000;;
6) selection=1500000;; 6) selection=1500000;;
esac esac
echo $selection eval "$1=$selection"
return 0;
} }
if [ ! -z $1 ]; then if [ ! -z "$1" ]; then
ret="$1" ret="$1"
else else
ret=$(selectBaud) ret=''
subprocess ret
fi fi
echo "ret: $ret" echo "ret: $ret"