From b8ba5cfa35f3275b0d6e8dc90ba75f1e5555da8e Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Fri, 28 Jun 2019 14:32:34 +0200 Subject: [PATCH] reset: reverse order --- src/reset.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reset.c b/src/reset.c index 47f509f87..d97fe6143 100644 --- a/src/reset.c +++ b/src/reset.c @@ -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."); + } }