summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index c674574575..ae4ff5141c 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -548,9 +548,8 @@ soft_reset:
printf("PYB: sync filesystems\n");
storage_flush();
- timer_deinit();
-
printf("PYB: soft reboot\n");
+ timer_deinit();
first_soft_reset = false;
goto soft_reset;