This commit is contained in:
DashyFox 2024-02-27 12:32:04 +03:00
parent 9af3e95ec8
commit 523bb0712c
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#pragma once
#include <Arduino.h>
#define IRDEBUG_INFO
// #define IRDEBUG_INFO
/*//////////////////////////////////////////////////////////////////////////////////////
Для работы в паре положить декодер в энкодер

View File

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