removes extra dfu erase (#415)
This commit is contained in:
parent
2cf26915e3
commit
e175b8d56f
1 changed files with 27 additions and 29 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue