Skip to content

Commit 526de5c

Browse files
committed
Merge branch 'unlock'
2 parents 5a87133 + 7f54963 commit 526de5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/factorysetup.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,8 @@ static ble_error_code_t _setup_ble(void)
518518
return BLE_OK;
519519
}
520520

521+
spi_mem_protected_area_unlock();
522+
521523
// Erase chip.
522524
screen_print_debug("Erasing chip", 0);
523525
int32_t erased_sectors = spi_mem_smart_erase();

0 commit comments

Comments
 (0)