mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
This commit is contained in:
@@ -212,7 +212,7 @@ void MyESP::_wifiCallback(justwifi_messages_t code, char * parameter) {
|
|||||||
if (code == MESSAGE_ACCESSPOINT_CREATED) {
|
if (code == MESSAGE_ACCESSPOINT_CREATED) {
|
||||||
_wifi_connected = true;
|
_wifi_connected = true;
|
||||||
|
|
||||||
myDebug_P(PSTR("[WIFI] MODE AP --------------------------------------"));
|
myDebug_P(PSTR("[WIFI] MODE AP"));
|
||||||
myDebug_P(PSTR("[WIFI] SSID %s"), jw.getAPSSID().c_str());
|
myDebug_P(PSTR("[WIFI] SSID %s"), jw.getAPSSID().c_str());
|
||||||
myDebug_P(PSTR("[WIFI] IP %s"), WiFi.softAPIP().toString().c_str());
|
myDebug_P(PSTR("[WIFI] IP %s"), WiFi.softAPIP().toString().c_str());
|
||||||
myDebug_P(PSTR("[WIFI] MAC %s"), WiFi.softAPmacAddress().c_str());
|
myDebug_P(PSTR("[WIFI] MAC %s"), WiFi.softAPmacAddress().c_str());
|
||||||
@@ -1061,13 +1061,15 @@ void MyESP::_setSystemCheck(bool stable) {
|
|||||||
if (++value > SYSTEM_CHECK_MAX) {
|
if (++value > SYSTEM_CHECK_MAX) {
|
||||||
_systemStable = false;
|
_systemStable = false;
|
||||||
value = 0; // system is unstable
|
value = 0; // system is unstable
|
||||||
myDebug_P(PSTR("[SYSTEM] Warning, system UNSTABLE. Serial mode is enabled."));
|
myDebug_P(PSTR("[SYSTEM] Warning, system UNSTABLE."));
|
||||||
|
|
||||||
|
/*
|
||||||
// enable Serial again
|
// enable Serial again
|
||||||
if (!_serial) {
|
if (!_serial) {
|
||||||
SerialAndTelnet.setSerial(&Serial);
|
SerialAndTelnet.setSerial(&Serial);
|
||||||
_serial = true;
|
_serial = true;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user