From 523bb0712c3db0b25321b6c3dfe05d3d1fbcb93c Mon Sep 17 00:00:00 2001 From: DashyFox Date: Tue, 27 Feb 2024 12:32:04 +0300 Subject: [PATCH] noDebug --- IR_config.h | 2 +- PacketTypes.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/IR_config.h b/IR_config.h index 2a478e6..5d35176 100644 --- a/IR_config.h +++ b/IR_config.h @@ -1,7 +1,7 @@ #pragma once #include -#define IRDEBUG_INFO +// #define IRDEBUG_INFO /*////////////////////////////////////////////////////////////////////////////////////// Для работы в паре положить декодер в энкодер diff --git a/PacketTypes.h b/PacketTypes.h index 28ab8eb..4bb8e58 100644 --- a/PacketTypes.h +++ b/PacketTypes.h @@ -26,10 +26,14 @@ namespace PacketTypes { if (isAvailable = checkAddress()) { isAvailable = true; isRawAvailable = true; + #ifdef IRDEBUG_INFO Serial.print(" OK "); + #endif } else { isRawAvailable = true; + #ifdef IRDEBUG_INFO Serial.print(" NOT-OK "); + #endif } }