This commit is contained in:
2024-02-22 16:52:55 +03:00
parent 6f5bbac83c
commit e35bf7ae23
7 changed files with 124 additions and 46 deletions

View File

@ -23,7 +23,7 @@
class IR_Encoder;
class IR_DecoderRaw : private IR_FOX {
class IR_DecoderRaw : public IR_FOX {
friend IR_Encoder;
public:
const uint8_t isrPin; // Пин прерывания
@ -42,8 +42,10 @@ public:
bool isReciving() { return isBufferOverflow; }; // Возвращает true, если происходит приём пакета
//////////////////////////////////////////////////////////////////////////
protected:
PackInfo packInfo;
private:
ErrorsStruct errors;
uint16_t id;
bool isAvailable = false;
uint16_t packSize;