From 4eb409b26dacd8cef148879c5b01419dde7ad405 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 23 Oct 2020 18:45:29 -0700 Subject: [PATCH] inline a function that was only called in one place --- bin/kaleidoscope-builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 9323558d..736cf8d7 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -376,7 +376,7 @@ flash_over_usb () { hex_with_bootloader () { compile - find_bootloader_path + : "${BOOTLOADER_PATH:=$( get_arduino_pref 'runtime.platform.path' )/bootloaders/$( get_arduino_pref 'bootloader.file' )}" awk '/^:00000001FF/ == 0' "${HEX_FILE_PATH}" > "${HEX_FILE_WITH_BOOTLOADER_PATH}" echo "Using ${BOOTLOADER_PATH}"