summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-25 10:31:28 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-25 10:31:28 +0000
commit24d527bf2229a0e75cd8409e009301eab4ff8b44 (patch)
tree3ece8a861070e3ff45fcf3e320efffcff2f0a4de /stmhal/main.c
parent9512e9e817909ec5103a11264a8d98356a402ec2 (diff)
parentf0729b19adafafa9cdccda4a0bdc9a2cadcdd5f9 (diff)
downloadmicropython-24d527bf2229a0e75cd8409e009301eab4ff8b44.tar.gz
micropython-24d527bf2229a0e75cd8409e009301eab4ff8b44.zip
Merge pull request #375 from dhylands/stmhal-adc
Some changes that I forgot to push with my last pull request
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)