Skip to content

Commit 7fd4116

Browse files
committed
per @earlephilhower review: a file was missing
1 parent 1059beb commit 7fd4116

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)