summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-07-02 14:09:44 +0100
committerDamien George <damien.p.george@gmail.com>2014-07-02 14:09:44 +0100
commite70b5dbe589ea1c085247ca21c7b4d0efd972c27 (patch)
tree7c9519100291697b52c3e08231bd3b39cc67f93c /stmhal/main.c
parent92a47b4dae14189cfd6572ee6eef09b973069d0d (diff)
downloadmicropython-e70b5dbe589ea1c085247ca21c7b4d0efd972c27.tar.gz
micropython-e70b5dbe589ea1c085247ca21c7b4d0efd972c27.zip
stmhal: Some reordering of code/functions.
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;