ip needs to be c_str for console

This commit is contained in:
Florian Hoss 2022-04-20 11:06:17 +02:00
parent d0eeab9c52
commit 0c7cbae18a

View file

@ -18,7 +18,7 @@ void setup_wifi()
delay(2000); delay(2000);
log_d("Connecting... (%i/%i)", retries++, max_retries); log_d("Connecting... (%i/%i)", retries++, max_retries);
} }
log_i("Connected, IP Address: %s", WiFi.localIP().toString()); log_i("Connected, IP Address: %s", WiFi.localIP().toString().c_str());
} }
void setup() void setup()