mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-05-04 07:10:16 +00:00
noDebug
This commit is contained in:
parent
9af3e95ec8
commit
523bb0712c
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
#define IRDEBUG_INFO
|
// #define IRDEBUG_INFO
|
||||||
/*//////////////////////////////////////////////////////////////////////////////////////
|
/*//////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
Для работы в паре положить декодер в энкодер
|
Для работы в паре положить декодер в энкодер
|
||||||
|
@ -26,10 +26,14 @@ namespace PacketTypes {
|
|||||||
if (isAvailable = checkAddress()) {
|
if (isAvailable = checkAddress()) {
|
||||||
isAvailable = true;
|
isAvailable = true;
|
||||||
isRawAvailable = true;
|
isRawAvailable = true;
|
||||||
|
#ifdef IRDEBUG_INFO
|
||||||
Serial.print(" OK ");
|
Serial.print(" OK ");
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
isRawAvailable = true;
|
isRawAvailable = true;
|
||||||
|
#ifdef IRDEBUG_INFO
|
||||||
Serial.print(" NOT-OK ");
|
Serial.print(" NOT-OK ");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user