Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some changes #1197

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
fixed esp8266 throw 'Not connected to the internet' exception
  • Loading branch information
beanjs committed Jul 21, 2017
commit ca67ee67bc881bd4a507a867ed5de4cada932e66
6 changes: 6 additions & 0 deletions libs/network/esp8266/jswrap_esp8266_network.c
Expand Up @@ -1168,8 +1168,14 @@ void jswrap_ESP8266_wifi_init1() {
DBG("< Wifi init1, phy=%d mode=%d\n", wifi_get_phy_mode(), wifi_get_opmode());
}

/*JSON{
"type":"init",
"generate":"jswrap_ESP8266_wifi_soft_init"
}

// This function is called in soft_init to hook-up the network. This happens from user_main's
// init_done() and also from `reset()` in order to re-hook-up the network.
*/
void jswrap_ESP8266_wifi_soft_init() {
DBGV("> Wifi.soft_init\n");

Expand Down