diff --git a/code/debug.sh b/code/debug.sh index c9b28ed4..18f45cc9 100755 --- a/code/debug.sh +++ b/code/debug.sh @@ -49,10 +49,8 @@ done # check environment folder if [ ! -f $ELF ]; then -if [ $ENVIRONMENT == "" ]; then ELF=.pioenvs/$ENVIRONMENT/firmware.elf fi -fi if [ ! -f $ELF ]; then echo "Could not find ELF file for the selected environment: $ELF" exit 2