fix: small flash routine rework + user input validation
This commit is contained in:
1 parent
765f016ea2
commit
d3726733e5
2 files changed
+46
-49
No files matched your search
@@ -44,7 +44,7 @@ advanced_menu(){
|
||||
clear && print_header
|
||||
flash_routine
|
||||
if [ $FLASH_FIRMWARE = "true" ]; then
|
||||
status_msg "Please wait..." && sleep 5 && build_fw
|
||||
status_msg "Please wait..." && sleep 3 && build_fw
|
||||
select_mcu_id
|
||||
fi
|
||||
print_msg && clear_msg
|
||||
@@ -53,7 +53,7 @@ advanced_menu(){
|
||||
clear && print_header
|
||||
flash_routine_sd
|
||||
if [ $FLASH_FW_SD = "true" ]; then
|
||||
status_msg "Please wait..." && sleep 5 && build_fw
|
||||
status_msg "Please wait..." && sleep 3 && build_fw
|
||||
select_mcu_id
|
||||
fi
|
||||
print_msg && clear_msg
|
||||
|
||||
Reference in new issue
Block a user