more bugfixes 5
This commit is contained in:
@@ -71,7 +71,7 @@ cd $ESPIDF_INSTALLDIR
|
|||||||
|
|
||||||
echo -e "\nesp-idf version: $ESP_IDF_VERSION commit $commitHash from branch $branchData"
|
echo -e "\nesp-idf version: $ESP_IDF_VERSION commit $commitHash from branch $branchData"
|
||||||
|
|
||||||
echo -e "\nrun with 'run_esp_cmd'"
|
echo -e "\nrun with \`run-esp-cmd\`"
|
||||||
|
|
||||||
echo -e "\nWelcome to esp-idf!\nAll done :3\n"
|
echo -e "\nWelcome to esp-idf!\nAll done :3\n"
|
||||||
|
|
||||||
|
|||||||
@@ -11,22 +11,6 @@ subprocess() {
|
|||||||
6) selection=1500000;;
|
6) selection=1500000;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo $selection
|
|
||||||
}
|
|
||||||
|
|
||||||
function selectBaud() {
|
|
||||||
echo -e "\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 -e "\n"
|
|
||||||
case $baudRate in
|
|
||||||
1) selection=9600;;
|
|
||||||
2) selection=115200;;
|
|
||||||
3) selection=230400;;
|
|
||||||
4) selection=460800;;
|
|
||||||
5) selection=1152000;;
|
|
||||||
6) selection=1500000;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
eval "$1=$selection"
|
eval "$1=$selection"
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user