mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
minor change to serial for 1.5.3
This commit is contained in:
@@ -143,11 +143,6 @@ void MyESP::_wifiCallback(justwifi_messages_t code, char * parameter) {
|
||||
|
||||
_wifi_connected = true;
|
||||
|
||||
// call any final custom settings
|
||||
if (_wifi_callback) {
|
||||
_wifi_callback();
|
||||
}
|
||||
|
||||
// finally if we don't want Serial anymore, turn it off
|
||||
if (!_use_serial) {
|
||||
Serial.println("Disabling serial port");
|
||||
@@ -157,6 +152,11 @@ void MyESP::_wifiCallback(justwifi_messages_t code, char * parameter) {
|
||||
} else {
|
||||
Serial.println("Using serial port output");
|
||||
}
|
||||
|
||||
// call any final custom settings
|
||||
if (_wifi_callback) {
|
||||
_wifi_callback();
|
||||
}
|
||||
}
|
||||
|
||||
if (code == MESSAGE_ACCESSPOINT_CREATED) {
|
||||
|
||||
Reference in New Issue
Block a user