core: Fix dfu wait in rules.mk
This commit is contained in:
parent
dcf10457a7
commit
bd68c71e20
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user