From 0c7cbae18ae4f24f44bb3b407ce137ae61cd8def Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Wed, 20 Apr 2022 11:06:17 +0200 Subject: [PATCH] ip needs to be c_str for console --- SourceCode/arduino/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceCode/arduino/src/main.cpp b/SourceCode/arduino/src/main.cpp index f28d940..def7ff8 100644 --- a/SourceCode/arduino/src/main.cpp +++ b/SourceCode/arduino/src/main.cpp @@ -18,7 +18,7 @@ void setup_wifi() delay(2000); 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()