Skip to content

Commit

Permalink
reset: reverse order
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Jun 28, 2019
1 parent 75eb13a commit b8ba5cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@

void reset_reset(void)
{
if (!memory_reset_hww()) {
Abort("Could not reset memory.");
}
#ifndef TESTING
if (!securechip_update_keys()) {
Abort("Could not reset secure chip.");
}
#endif
if (!memory_reset_hww()) {
Abort("Could not reset memory.");
}
}

0 comments on commit b8ba5cf

Please sign in to comment.