more bugfixes 3
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user