diff --git a/.gitignore b/.gitignore index 75ec3f0..04ae825 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.vscode/* \ No newline at end of file +.vscode/* +bin/* \ No newline at end of file diff --git a/IR-protocol.ino b/IR-protocol.ino index e14e88e..3520824 100644 --- a/IR-protocol.ino +++ b/IR-protocol.ino @@ -244,6 +244,7 @@ void status(IR_Decoder &dec) if (dec.gotData.available()) { detectSignal(); + Serial.println(micros()); String str; if (/* dec.gotData.getDataPrt()[1] */ 1) { diff --git a/IR_DecoderRaw.cpp b/IR_DecoderRaw.cpp index 3a8d296..43dcc0c 100644 --- a/IR_DecoderRaw.cpp +++ b/IR_DecoderRaw.cpp @@ -509,7 +509,9 @@ void IR_DecoderRaw::writeToBuffer(bool bit) if (isAvailable) { + #ifdef IRDEBUG_INFO Serial.println("!!!INV!!!"); + #endif goto OUT_BRUTEFORCE; } else diff --git a/IR_config.h b/IR_config.h index e7dee11..bf3053e 100644 --- a/IR_config.h +++ b/IR_config.h @@ -103,7 +103,7 @@ typedef uint16_t crc_t; #define bytePerPack 16 // колличество байтов в пакете #ifndef freeFrec -#define freeFrec true +#define freeFrec false #endif #ifndef subBufferSize