summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-08-23 15:46:06 -0700
committerGitHub <noreply@github.com>2021-08-23 23:46:06 +0100
commitd57d9aec4f1e00601e6664ef6c4cb0e3e7826fe2 (patch)
tree9cd125bb76a5c2e9e617020f2f1cbc8366c47458 /platforms
parente756a21636149ad47c19c659d04be93cf3071dab (diff)
Fix bootloadHID comments breaking :flash (#14133)
Diffstat (limited to 'platforms')
-rw-r--r--platforms/avr/flash.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/avr/flash.mk b/platforms/avr/flash.mk
index 8eef5fbb03..0af1ebb1ce 100644
--- a/platforms/avr/flash.mk
+++ b/platforms/avr/flash.mk
@@ -138,9 +138,9 @@ usbasp: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
BOOTLOADHID_PROGRAMMER ?= bootloadHID
+# bootloadHid executable has no cross platform detect methods
+# so keep running bootloadHid if the output contains "The specified device was not found"
define EXEC_BOOTLOADHID
- # bootloadHid executable has no cross platform detect methods
- # so keep running bootloadHid if the output contains "The specified device was not found"
until $(BOOTLOADHID_PROGRAMMER) -r $(BUILD_DIR)/$(TARGET).hex 2>&1 | tee /dev/stderr | grep -v "device was not found"; do\
printf "$(MSG_BOOTLOADER_NOT_FOUND)" ;\
sleep 5 ;\