浏览代码

Fix bootloadHID comments breaking :flash (#14133)

Drashna Jaelre 3 年之前
父节点
当前提交
d57d9aec4f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      platforms/avr/flash.mk

+ 2 - 2
platforms/avr/flash.mk

@@ -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 ;\