From 5a539441b8691e4f40e80dddf51cff1da774f162 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sat, 24 Oct 2020 01:22:11 -0700 Subject: [PATCH] simplify --- bin/kaleidoscope-builder | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index c74ba950..d69277e5 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -289,6 +289,7 @@ prompt_before_flashing() { flash() { compile "$@" + find_device_vid_pid # 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 @@ -472,7 +473,6 @@ find_bootloader_ports() { return fi - find_device_vid_pid : "${BOOTLOADER_VID:=${VID}}" if [ "${uname_S}" = "Darwin" ]; then DEVICE_PORT_PROBER="${KALEIDOSCOPE_BIN_DIR}/find-device-port-macos" @@ -497,7 +497,6 @@ find_device_port() { return fi - find_device_vid_pid if [ "${uname_S}" = "Darwin" ]; then DEVICE_PORT_PROBER="${KALEIDOSCOPE_BIN_DIR}/find-device-port-macos" DEVICE_PORT="$(perl ${DEVICE_PORT_PROBER} ${VID} ${SKETCH_PID})"