61-beta4.3.1
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
test-scratch.sh
|
|
||||||
notes.txt
|
notes.txt
|
||||||
todo.txt
|
todo.txt
|
||||||
scratch.txt
|
scratch.txt
|
||||||
|
|||||||
@@ -238,6 +238,12 @@ function handleSetupEnvironment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleAliasEnviron() {
|
function handleAliasEnviron() {
|
||||||
|
alias get_idf
|
||||||
|
ret=$?
|
||||||
|
if [ $ret -eq 1 ]; then
|
||||||
|
echo aliasnant not found
|
||||||
|
fi
|
||||||
|
|
||||||
# alias get_idf 2>/dev/null
|
# alias get_idf 2>/dev/null
|
||||||
# ret=$?
|
# ret=$?
|
||||||
# if [ $ret == 1 ]; then
|
# if [ $ret == 1 ]; then
|
||||||
|
|||||||
+4
-22
@@ -1,23 +1,5 @@
|
|||||||
subprocess() {
|
alias get_idf
|
||||||
echo "\nChanging ESPBAUD\n\t1: 9600\n\t2: 115200\n\t3: 230400\n\t4: 460800\n\t5: 1152000\n\t6: 1500000\n\nEnter Selection: "
|
|
||||||
read baudRate
|
|
||||||
echo "\n"
|
|
||||||
case $baudRate in
|
|
||||||
1) selection=9600 ;;
|
|
||||||
2) selection=115200 ;;
|
|
||||||
3) selection=230400 ;;
|
|
||||||
4) selection=460800 ;;
|
|
||||||
5) selection=1152000 ;;
|
|
||||||
6) selection=1500000 ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
return $selection
|
|
||||||
}
|
|
||||||
|
|
||||||
subprocess
|
|
||||||
ret=$?
|
ret=$?
|
||||||
|
if [ $ret -eq 1 ]; then
|
||||||
export ESPBAUD=$ret
|
echo aliasnant not found
|
||||||
|
fi
|
||||||
echo "\nBaudrate set to $ESPBAUD\n"
|
|
||||||
echo "\nAll done :3\n"
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
61-beta4.3
|
61-beta4.3.1
|
||||||
Reference in New Issue
Block a user