]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Fix 'make dfu' message
authortmk <hasu@tmk-kbd.com>
Thu, 8 Sep 2016 05:43:25 +0000 (14:43 +0900)
committertmk <hasu@tmk-kbd.com>
Thu, 8 Sep 2016 05:45:12 +0000 (14:45 +0900)
tmk_core/rules.mk

index a0a7c3e5ce01aacb59cae8b2919e15a7f9cf060e..987b580c170165bbf31186171478b43422ae9bb0 100644 (file)
@@ -420,10 +420,13 @@ flip: $(TARGET).hex
        batchisp -hardware usb -device $(MCU) -operation start reset 0
 
 dfu: $(TARGET).hex
+       @echo -n dfu-programmer: waiting
        @until dfu-programmer atmega32u4 get bootloader-version > /dev/null 2>&1; do \
                echo  -n "."; \
                sleep 1; \
        done
+       @echo
+
 ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
        dfu-programmer $(MCU) erase --force
 else