IR codes will now also be printed without debug enabled
This commit is contained in:
parent
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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user