inline a function that was only called in one place

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

@ -376,7 +376,7 @@ flash_over_usb () {
hex_with_bootloader () { hex_with_bootloader () {
compile 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}" awk '/^:00000001FF/ == 0' "${HEX_FILE_PATH}" > "${HEX_FILE_WITH_BOOTLOADER_PATH}"
echo "Using ${BOOTLOADER_PATH}" echo "Using ${BOOTLOADER_PATH}"

Loading…
Cancel
Save