mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 09:36:04 +08:00
Add missing IP for STA when using MKS TFT
This commit is contained in:
parent
32202cd6b6
commit
460a145a91
@ -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 ||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user