core: Fix dfu wait in rules.mk
This commit is contained in:
parent
dcf10457a7
commit
bd68c71e20
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ flip: $(TARGET).hex
|
|||
|
||||
dfu: $(TARGET).hex
|
||||
@echo -n dfu-programmer: waiting
|
||||
@until dfu-programmer atmega32u4 get bootloader-version > /dev/null 2>&1; do \
|
||||
@until dfu-programmer $(MCU) get bootloader-version > /dev/null 2>&1; do \
|
||||
echo -n "."; \
|
||||
sleep 1; \
|
||||
done
|
||||
|
|
Reference in a new issue