diff --git a/IR_DecoderRaw.h b/IR_DecoderRaw.h index 21c7790..8110251 100644 --- a/IR_DecoderRaw.h +++ b/IR_DecoderRaw.h @@ -48,7 +48,7 @@ public: inline bool isOverflow() { return isBufferOverflow; }; // Буффер переполнился bool isSubOverflow(); - inline bool isReciving() { return isRecive; }; // Возвращает true, если происходит приём пакета + volatile inline bool isReciving() { return isRecive; }; // Возвращает true, если происходит приём пакета ////////////////////////////////////////////////////////////////////////// private: diff --git a/IR_config.h b/IR_config.h index a5f6c3e..80893e4 100644 --- a/IR_config.h +++ b/IR_config.h @@ -122,7 +122,7 @@ typedef uint16_t crc_t; #endif #ifndef subBufferSize -#define subBufferSize 50 // Буфер для складирования фронтов, пока их не обработают (передатчик) +#define subBufferSize 250 // Буфер для складирования фронтов, пока их не обработают (передатчик) #endif #define preambPulse 3