diff --git a/wled00/ir.cpp b/wled00/ir.cpp index e55cec781..4ab280dc7 100644 --- a/wled00/ir.cpp +++ b/wled00/ir.cpp @@ -728,7 +728,7 @@ void handleIR() { if (results.value != 0) // only print results if anything is received ( != 0 ) { - if (!pinManager.isPinAllocated(TX) || pinManager.getPinOwner(TX) == PinOwner::DebugOut) //GPIO 1 - Serial TX pin + if (!pinManager.isPinAllocated(hardwareTX) || pinManager.getPinOwner(hardwareTX) == PinOwner::DebugOut) // Serial TX pin (GPIO 1 on ESP32 and ESP8266) Serial.printf_P(PSTR("IR recv: 0x%lX\n"), (unsigned long)results.value); } decodeIR(results.value);