_find_bootloader_ports and _find_device_ports

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent 7594ee41f2
commit 433f0ccb25
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -227,7 +227,7 @@ flash() {
# Check to see if we can see a keyboard bootloader port.
# If we -can-, then we should skip over the "reset to bootloader" thing
find_bootloader_ports
_find_bootloader_ports
if [ -z "${DEVICE_PORT_BOOTLOADER}" ]; then
prompt_before_flashing
@ -235,7 +235,7 @@ flash() {
# shellcheck disable=SC2154
${preFlash_HOOKS}
find_device_port
_find_device_port
port="${DEVICE_PORT}"
else
port="${DEVICE_PORT_BOOTLOADER}"
@ -374,7 +374,7 @@ clean() {
fi
}
find_bootloader_ports() {
_find_bootloader_ports() {
if [ -n "${DEVICE_PORT_BOOTLOADER}" ]; then
echo "DEVICE_PORT_BOOTLOADER=\"${DEVICE_PORT_BOOTLOADER}\" predefined."
return
@ -399,7 +399,7 @@ find_bootloader_ports() {
fi
}
find_device_port() {
_find_device_port() {
if [ -n "${DEVICE_PORT}" ]; then
echo "DEVICE_PORT=\"${DEVICE_PORT}\" predefined."
return

Loading…
Cancel
Save