IR codes will now also be printed without debug enabled

This commit is contained in:
cschwinne 2018-11-22 22:43:44 +01:00
parent cd234673ea
commit 686f2c4aa6

View File

@ -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();
} }