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 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.