moved id to parrent class

This commit is contained in:
2024-02-28 10:03:31 +03:00
parent b7d0179092
commit f6bbd96a4c
4 changed files with 8 additions and 5 deletions

View File

@ -7,9 +7,9 @@ class IR_DecoderRaw;
class IR_Encoder : IR_FOX {
friend IR_DecoderRaw;
public:
uint16_t id; /// @brief Адрес передатчика
private:
uint16_t id; /// @brief Адрес передатчика
public:
@ -50,6 +50,7 @@ public:
void sendBack(uint8_t* data = nullptr, uint8_t len = 0);
void sendBackTo(uint16_t addrTo, uint8_t* data = nullptr, uint8_t len = 0);
void isr();
~IR_Encoder();
volatile bool ir_out_virtual;