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, 3 insertions, 0 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 3f9683a542..a231ca2507 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -373,6 +373,9 @@ soft_reset:
}
}
}
+#else
+ // Get rid of compiler warning if no SDCARD is configured.
+ (void)first_soft_reset;
#endif
#if defined(USE_HOST_MODE)