Fix pin reset flash conflict error

This commit is contained in:
Lucian Copeland 2020-05-28 12:15:21 -04:00
parent a59798ed49
commit fd00bb8b7f
1 changed files with 2 additions and 2 deletions

View File

@ -257,8 +257,8 @@ safe_mode_t port_init(void) {
// enabled. It won't occur very often so it'll be low overhead.
NVIC_EnableIRQ(SNVS_HP_WRAPPER_IRQn);
// Reset everything into a known state before board_init.
reset_port();
// Note that reset_port CANNOT GO HERE, unlike other ports, since we currently rely on it to
// protect never_reset pins per board.
if (board_requests_safe_mode()) {
return USER_SAFE_MODE;