clean up
This commit is contained in:
		@@ -21,6 +21,7 @@
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include "nrf.h"
 | 
			
		||||
#include "flash.h"
 | 
			
		||||
 | 
			
		||||
static __INLINE uint16_t pstorage_flash_page_size()
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user