Skip to content

Commit

Permalink
Fix bootloadHID comments breaking :flash (#14133)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Aug 23, 2021
1 parent e756a21 commit d57d9ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platforms/avr/flash.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;\
Expand Down

0 comments on commit d57d9ae

Please sign in to comment.