From 8acbc79e88829f762a683b60d7e7ca64dab6b223 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Mon, 10 Jun 2024 18:27:30 +0200 Subject: [PATCH] posix compile fix --- dc11.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dc11.cpp b/dc11.cpp index 4b13034..00390db 100644 --- a/dc11.cpp +++ b/dc11.cpp @@ -119,7 +119,9 @@ void dc11::operator()() if (is_connected != connected[line_nr]) { DOLOG(debug, false, "DC11 line %d state changed to %d", line_nr, is_connected); +#if defined(ESP32) Serial.printf("DC11 line %d state changed to %d\r\n", line_nr, is_connected); +#endif connected[line_nr] = is_connected;