From 9fde35d8e7985367405013936bd6d7d55bd207a9 Mon Sep 17 00:00:00 2001 From: Kalle <15094562+ThatKalle@users.noreply.github.com> Date: Wed, 7 May 2025 09:17:00 +0200 Subject: [PATCH] fix if check --- bin/device-install.sh | 2 +- bin/device-update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/device-install.sh b/bin/device-install.sh index 6198ce969..f3227adda 100755 --- a/bin/device-install.sh +++ b/bin/device-install.sh @@ -112,7 +112,7 @@ while [ $# -gt 0 ]; do shift # Move to the next argument done -if [[ $WEB_APP == true ]]; then +if [[ $CHANGE_MODE == true ]]; then $ESPTOOL_CMD --baud 1200 --after no_reset read_flash_status exit 0 fi diff --git a/bin/device-update.sh b/bin/device-update.sh index a62e9f468..c32b953e6 100755 --- a/bin/device-update.sh +++ b/bin/device-update.sh @@ -55,7 +55,7 @@ while getopts ":hp:P:f:" opt; do done shift "$((OPTIND-1))" -if [[ $WEB_APP == true ]]; then +if [[ $CHANGE_MODE == true ]]; then $ESPTOOL_CMD --baud 1200 --after no_reset read_flash_status exit 0 fi