From 433f0ccb25d5ebce2541710e4fdc3e88be3e8f4b Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 26 Oct 2020 14:52:38 -0700 Subject: [PATCH] _find_bootloader_ports and _find_device_ports --- bin/kaleidoscope-builder | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index bb586e51..29b18dd8 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -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