mirror of
https://github.com/luc-github/ESP3D.git
synced 2025-10-31 11:56:48 -07:00
Add missing IP for STA when using MKS TFT
This commit is contained in:
@@ -216,6 +216,11 @@ void Esp3D::begin(uint16_t startdelayms, uint16_t recoverydelayms)
|
||||
if (!wifi_config.Enable_servers() ) {
|
||||
ESPCOM::println (F ("Error enabling servers"), PRINTER_PIPE);
|
||||
}
|
||||
if (WiFi.getMode() == WIFI_STA) {
|
||||
String currentIP = WiFi.localIP().toString();
|
||||
ESPCOM::println (currentIP.c_str(), PRINTER_PIPE);
|
||||
}
|
||||
|
||||
/*#ifdef ARDUINO_ARCH_ESP8266
|
||||
if (rtc_info->reason == REASON_WDT_RST ||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user