diff --git a/.gitignore b/.gitignore index f30b891..6c5b856 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -test-scratch.sh notes.txt todo.txt scratch.txt diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index 9e7628d..ed21707 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -238,6 +238,12 @@ function handleSetupEnvironment() { } function handleAliasEnviron() { + alias get_idf + ret=$? + if [ $ret -eq 1 ]; then + echo aliasnant not found + fi + # alias get_idf 2>/dev/null # ret=$? # if [ $ret == 1 ]; then diff --git a/test-scratch.sh b/test-scratch.sh index c514ffa..ea28043 100644 --- a/test-scratch.sh +++ b/test-scratch.sh @@ -1,23 +1,5 @@ -subprocess() { - 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 +alias get_idf ret=$? - -export ESPBAUD=$ret - -echo "\nBaudrate set to $ESPBAUD\n" -echo "\nAll done :3\n" \ No newline at end of file +if [ $ret -eq 1 ]; then + echo aliasnant not found +fi diff --git a/version.txt b/version.txt index 6abfdb0..fc78fdf 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-beta4.3 \ No newline at end of file +61-beta4.3.1 \ No newline at end of file