summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2016-10-04 22:10:44 -0700
committerDamien George <damien.p.george@gmail.com>2016-10-06 11:47:45 +1100
commitc08f50bcf7740885863224509d56229d55ac1193 (patch)
treec2d116d618e8cd0d64796819a87ede193ca4fa4a /stmhal/main.c
parent7f19b1c3eb488a8466fd1fca0530dba6a02d9f1a (diff)
downloadmicropython-c08f50bcf7740885863224509d56229d55ac1193.tar.gz
micropython-c08f50bcf7740885863224509d56229d55ac1193.zip
stmhal: Disable network and usocket for ESPRUINO_PICO
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 e7fff69d9b..f39a86b7ae 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -586,7 +586,9 @@ soft_reset:
dac_init();
#endif
+#if MICROPY_PY_NETWORK
mod_network_init();
+#endif
// At this point everything is fully configured and initialised.