There was an error while loading. Please reload this page.
1 parent 1059beb commit 7fd4116Copy full SHA for 7fd4116
cores/esp8266/enable_wifi_at_boot_time.cpp
@@ -0,0 +1,20 @@
1
+/*
2
+ * empty wrappers to play with linker and reenable wifi at boot time
3
+ */
4
+
5
+#include "coredecls.h"
6
7
+extern "C" void enableWiFiAtBootTime()
8
+{
9
+ /*
10
+ * Called by user from anywhere, does nothing and allows overriding
11
+ * the core_esp8266_main.cpp's default disableWiFiAtBootTime() by the
12
+ * one below, at link time.
13
14
+}
15
16
+extern "C" void __disableWiFiAtBootTime()
17
18
+ // overrides the default __disableWiFiAtBootTime:
19
+ // Does nothing: WiFi is enabled by default in nonos-sdk
20
0 commit comments