1
0
Fork 0
forked from forks/qmk_firmware

Fix bootloadHID comments breaking :flash (#14133)

This commit is contained in:
Drashna Jaelre 2021-08-23 15:46:06 -07:00 committed by GitHub
parent e756a21636
commit d57d9aec4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,9 +138,9 @@ usbasp: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
BOOTLOADHID_PROGRAMMER ?= bootloadHID 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 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\ 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)" ;\ printf "$(MSG_BOOTLOADER_NOT_FOUND)" ;\
sleep 5 ;\ sleep 5 ;\