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 } }