removes extra dfu erase (#415)

pull/416/head^2
Eric Tang 9 years ago committed by Jack Humbert
parent 2cf26915e3
commit e175b8d56f

@ -485,7 +485,6 @@ ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
else else
dfu-programmer $(MCU) erase dfu-programmer $(MCU) erase
endif endif
dfu-programmer $(MCU) erase
dfu-programmer $(MCU) flash $(BUILD_DIR)/$(TARGET).hex dfu-programmer $(MCU) flash $(BUILD_DIR)/$(TARGET).hex
dfu-programmer $(MCU) reset dfu-programmer $(MCU) reset
@ -495,7 +494,6 @@ ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
else else
dfu-programmer $(MCU) erase dfu-programmer $(MCU) erase
endif endif
dfu-programmer $(MCU) erase
dfu-programmer $(MCU) flash $(KEYMAP_PATH)/compiled.hex dfu-programmer $(MCU) flash $(KEYMAP_PATH)/compiled.hex
dfu-programmer $(MCU) reset dfu-programmer $(MCU) reset

Loading…
Cancel
Save