From fd51a4935cf3b301290fd7f6de0e0940c23058c1 Mon Sep 17 00:00:00 2001 From: DashyFox Date: Tue, 3 Sep 2024 17:35:35 +0300 Subject: [PATCH] small fix --- IR_Encoder.h | 2 +- IR_config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IR_Encoder.h b/IR_Encoder.h index ee5df02..27970a9 100644 --- a/IR_Encoder.h +++ b/IR_Encoder.h @@ -4,7 +4,7 @@ // TODO: Отложенная передача после завершения приема class IR_DecoderRaw; -class IR_Encoder : IR_FOX +class IR_Encoder : public IR_FOX { friend IR_DecoderRaw; diff --git a/IR_config.h b/IR_config.h index 8067be8..cd6ffdb 100644 --- a/IR_config.h +++ b/IR_config.h @@ -183,7 +183,7 @@ public: uint16_t rTime = 0; }; - inline uint16_t getId() { return id; } + inline uint16_t getId() const { return id; } inline void setId(uint16_t id) { this->id = id; } static void checkAddressRuleApply(uint16_t address, uint16_t id, bool &flag); void setPin(uint8_t pin);