This commit is contained in:
hathach 2018-08-11 10:50:40 +07:00
parent 971619aa7e
commit b47927f95c
2 changed files with 1 additions and 4 deletions

View File

@ -21,6 +21,7 @@
#include <stdint.h>
#include "nrf.h"
#include "flash.h"
static __INLINE uint16_t pstorage_flash_page_size()
{

View File

@ -235,10 +235,6 @@ static void uf2_write_complete(uint32_t numBlocks)
update_status.app_crc = 0; // skip CRC checking with uf2 upgrade
update_status.app_size = numBlocks*256;
// re-enable softdevice
extern uint32_t softdev_init(bool init_softdevice);
softdev_init(false);
bootloader_dfu_update_process(update_status);
}