aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmk_core/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index 69c7985b4..552f32331 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -428,7 +428,7 @@ flip: $(TARGET).hex
428 batchisp -hardware usb -device $(MCU) -operation loadbuffer $(TARGET).hex program 428 batchisp -hardware usb -device $(MCU) -operation loadbuffer $(TARGET).hex program
429 batchisp -hardware usb -device $(MCU) -operation start reset 0 429 batchisp -hardware usb -device $(MCU) -operation start reset 0
430 430
431dfu: $(TARGET).hex 431dfu: $(TARGET).hex sizeafter
432ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1))) 432ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
433 dfu-programmer $(MCU) erase --force 433 dfu-programmer $(MCU) erase --force
434else 434else