fix issue nrf52840 not reset properly when upgrading bootloader+sd combo

- root cause tusb_task()/cdc task is called when usb is not inited (in
case of sd upgrade)
This commit is contained in:
hathach
2018-12-20 00:50:14 +07:00
parent fc13287837
commit 5c38bc8957
3 changed files with 16 additions and 3 deletions

View File

@ -28,7 +28,7 @@ SD_HEX = $(SD_PATH)/$(SD_FILENAME)_softdevice.hex
LD_FILE = $(SRC_PATH)/linker/$(SD_NAME)_v$(SD_VER1).ld
MERGED_FNAME = $(OUTPUT_FILENAME)_$(SD_NAME)_$(SD_VERSION)
RELEASE_DIR = bin/$(BOARD)/$(SD_VERSION)
RELEASE_DIR = bin/$(BOARD)
MK_DIS_FIRMWARE = "$(SD_NAME) $(SD_VERSION)"