Fixed init wifi two times.
This commit is contained in:
@@ -584,7 +584,7 @@ void startWebInterface()
|
|||||||
staConnectionKnown = staConnected;
|
staConnectionKnown = staConnected;
|
||||||
if (staConnected)
|
if (staConnected)
|
||||||
{
|
{
|
||||||
Serial.println(String("http://") + WiFi.localIP().toString());
|
Serial.println(String("Connected: http://") + WiFi.localIP().toString());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -147,7 +147,6 @@ void setup()
|
|||||||
makeComInterface();
|
makeComInterface();
|
||||||
initHardware();
|
initHardware();
|
||||||
startBleInterface();
|
startBleInterface();
|
||||||
startWebInterface();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t g_uiState = 0;
|
uint8_t g_uiState = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user