summaryrefslogtreecommitdiff
path: root/stmhal/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 603bf3188..5faa70e65 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -495,13 +495,11 @@ soft_reset:
vstr_free(vstr);
}
-#if 0
-#if MICROPY_HW_HAS_WLAN
- // wifi
+#if MICROPY_HW_ENABLE_CC3K
+ // wifi using the CC3000 driver
pyb_wlan_init();
pyb_wlan_start();
#endif
-#endif
// enter REPL
// REPL mode can change, or it can request a soft reset