]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Fix dfu wait in rules.mk
authortmk <hasu@tmk-kbd.com>
Fri, 9 Sep 2016 00:27:57 +0000 (09:27 +0900)
committertmk <hasu@tmk-kbd.com>
Fri, 9 Sep 2016 00:27:57 +0000 (09:27 +0900)
tmk_core/rules.mk

index 987b580c170165bbf31186171478b43422ae9bb0..66b4cbd88eaf7dd840a0cbc1c2adc807e5140794 100644 (file)
@@ -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