crash of gsm module start, depends on queue of modules starting
This commit is contained in:
parent
61c05053fd
commit
353c9ce606
|
|
@ -105,11 +105,7 @@ esp_err_t WebGuiAppInit(void)
|
||||||
//init rom file system
|
//init rom file system
|
||||||
init_rom_fs("/espfs");
|
init_rom_fs("/espfs");
|
||||||
|
|
||||||
#if CONFIG_WEBGUIAPP_GPRS_ENABLE
|
|
||||||
/*Start PPP modem*/
|
|
||||||
if (GetSysConf()->gsmSettings.Flags1.bIsGSMEnabled)
|
|
||||||
PPPModemStart();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if CONFIG_WEBGUIAPP_ETHERNET_ENABLE
|
#if CONFIG_WEBGUIAPP_ETHERNET_ENABLE
|
||||||
/*Start Ethernet connection*/
|
/*Start Ethernet connection*/
|
||||||
|
|
@ -117,6 +113,12 @@ esp_err_t WebGuiAppInit(void)
|
||||||
EthStart();
|
EthStart();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_WEBGUIAPP_GPRS_ENABLE
|
||||||
|
/*Start PPP modem*/
|
||||||
|
if (GetSysConf()->gsmSettings.Flags1.bIsGSMEnabled)
|
||||||
|
PPPModemStart();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CONFIG_WEBGUIAPP_WIFI_ENABLE
|
#if CONFIG_WEBGUIAPP_WIFI_ENABLE
|
||||||
/*Start WiFi connection*/
|
/*Start WiFi connection*/
|
||||||
if (GetSysConf()->wifiSettings.Flags1.bIsWiFiEnabled)
|
if (GetSysConf()->wifiSettings.Flags1.bIsWiFiEnabled)
|
||||||
|
|
@ -128,6 +130,8 @@ esp_err_t WebGuiAppInit(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool WiFiApOnly = false;
|
bool WiFiApOnly = false;
|
||||||
#if !CONFIG_WEBGUIAPP_GPRS_ENABLE && !CONFIG_WEBGUIAPP_ETHERNET_ENABLE && CONFIG_WEBGUIAPP_WIFI_ENABLE
|
#if !CONFIG_WEBGUIAPP_GPRS_ENABLE && !CONFIG_WEBGUIAPP_ETHERNET_ENABLE && CONFIG_WEBGUIAPP_WIFI_ENABLE
|
||||||
if(GetSysConf()->wifiSettings.Flags1.bIsAP)
|
if(GetSysConf()->wifiSettings.Flags1.bIsAP)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user