removes extra dfu erase (#415)

This commit is contained in:
Eric Tang 2016-06-17 17:25:58 -07:00 committed by Jack Humbert
parent 2cf26915e3
commit e175b8d56f

View File

@ -485,7 +485,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 $(BUILD_DIR)/$(TARGET).hex
dfu-programmer $(MCU) reset
@ -495,7 +494,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 $(KEYMAP_PATH)/compiled.hex
dfu-programmer $(MCU) reset