ESP32-S2 support.

This commit is contained in:
Blaz Kristan
2022-09-09 23:21:47 +02:00
parent e4fbf70568
commit 2cd40c7552
4 changed files with 19 additions and 14 deletions

View File

@@ -728,7 +728,7 @@ void handleIR()
{
if (results.value != 0) // only print results if anything is received ( != 0 )
{
if (!pinManager.isPinAllocated(1) || pinManager.getPinOwner(1) == PinOwner::DebugOut) //GPIO 1 - Serial TX pin
if (!pinManager.isPinAllocated(TX) || pinManager.getPinOwner(TX) == PinOwner::DebugOut) //GPIO 1 - Serial TX pin
Serial.printf_P(PSTR("IR recv: 0x%lX\n"), (unsigned long)results.value);
}
decodeIR(results.value);