From 686f2c4aa601cb7896b12be180d7c4718338cd43 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Thu, 22 Nov 2018 22:43:44 +0100 Subject: [PATCH] IR codes will now also be printed without debug enabled --- wled00/wled19_ir.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wled00/wled19_ir.ino b/wled00/wled19_ir.ino index f59dd63a7..88d1bdffc 100644 --- a/wled00/wled19_ir.ino +++ b/wled00/wled19_ir.ino @@ -138,10 +138,9 @@ void handleIR() if (irrecv->decode(&results)) { - DEBUG_PRINT("IR recv\r\n0x"); - #ifdef WLED_DEBUG + Serial.print("IR recv\r\n0x"); Serial.println((uint32_t)results.value, HEX); - #endif + Serial.println(); decodeIR(results.value); irrecv->resume(); }