kopia lustrzana https://github.com/meshtastic/firmware
Trunk fmt to correct failing PR check for device-install.sh
rodzic
b3ec3c20fb
commit
a493ab526f
|
@ -18,18 +18,20 @@ Flash image file to device, but first erasing and writing system information"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
while getopts ":hp:P:f:" opt; do
|
while getopts ":hp:P:f:" opt; do
|
||||||
case "${opt}" in
|
case "${opt}" in
|
||||||
h)
|
h)
|
||||||
show_help
|
show_help
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
p) export ESPTOOL_PORT=${OPTARG}
|
p)
|
||||||
|
export ESPTOOL_PORT=${OPTARG}
|
||||||
;;
|
;;
|
||||||
P) PYTHON=${OPTARG}
|
P)
|
||||||
|
PYTHON=${OPTARG}
|
||||||
;;
|
;;
|
||||||
f) FILENAME=${OPTARG}
|
f)
|
||||||
|
FILENAME=${OPTARG}
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid flag."
|
echo "Invalid flag."
|
||||||
|
|
Ładowanie…
Reference in New Issue