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