kopia lustrzana https://github.com/Aircoookie/WLED
IR codes will now also be printed without debug enabled
rodzic
cd234673ea
commit
686f2c4aa6
|
@ -138,10 +138,9 @@ void handleIR()
|
||||||
|
|
||||||
if (irrecv->decode(&results))
|
if (irrecv->decode(&results))
|
||||||
{
|
{
|
||||||
DEBUG_PRINT("IR recv\r\n0x");
|
Serial.print("IR recv\r\n0x");
|
||||||
#ifdef WLED_DEBUG
|
|
||||||
Serial.println((uint32_t)results.value, HEX);
|
Serial.println((uint32_t)results.value, HEX);
|
||||||
#endif
|
Serial.println();
|
||||||
decodeIR(results.value);
|
decodeIR(results.value);
|
||||||
irrecv->resume();
|
irrecv->resume();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue