minor change to serial for 1.5.3

This commit is contained in:
proddy
2019-02-24 18:25:43 +01:00
parent 3fab61513d
commit 523abf5719
4 changed files with 10 additions and 8 deletions

View File

@@ -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) {