Update flash.sh

The original code was not working if port and baud was not exported as separate environmentak varaibles.
master^2
schneemaier 6 years ago committed by GitHub
parent 7e4d25272a
commit ee61b38026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      rel-tpl/flash.sh

@ -18,8 +18,8 @@ if [ -z ${ESPTOOL} ]; then
fi fi
fi fi
[ -z ESPPORT ] && ESPPORT=/dev/ttyUSB0 [ -z ${ESPPORT} ] && ESPPORT=/dev/ttyUSB0
[ -z ESPBAUD ] && ESPBAUD=460800 [ -z ${ESPBAUD} ] && ESPBAUD=460800
set -x set -x
${ESPTOOL} --port ${ESPPORT} --baud ${ESPBAUD} \ ${ESPTOOL} --port ${ESPPORT} --baud ${ESPBAUD} \

Loading…
Cancel
Save