]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Fix rules.mk for dfu target
authortmk <hasu@tmk-kbd.com>
Thu, 26 Nov 2015 22:19:19 +0000 (07:19 +0900)
committertmk <hasu@tmk-kbd.com>
Thu, 26 Nov 2015 22:19:19 +0000 (07:19 +0900)
tmk_core/rules.mk

index 860fc1a9310da970ebecba597c150802f522f37e..0ae84d912fd452b1a9a2000402b487e91569f1c7 100644 (file)
@@ -425,7 +425,6 @@ ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
 else
        dfu-programmer $(MCU) erase
 endif
-       dfu-programmer $(MCU) erase
        dfu-programmer $(MCU) flash $(TARGET).hex
        dfu-programmer $(MCU) reset