removed unused parametr

This commit is contained in:
DashyFox 2024-02-28 09:43:59 +03:00
parent 202ae01238
commit 22f7cd68ca
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
IR_Decoder decForward(2, 555); IR_Decoder decForward(2, 555);
IR_Decoder decBackward(3, 777); IR_Decoder decBackward(3, 777);
IR_Encoder encForward(42, encForward_PIN, &decBackward); IR_Encoder encForward(42, &decBackward);
// IR_Encoder encBackward(321, encBackward_PIN); // IR_Encoder encBackward(321, encBackward_PIN);
// IR_Encoder encTree(325, A2); // IR_Encoder encTree(325, A2);

View File

@ -5,7 +5,7 @@
#define ISR_Out 10 #define ISR_Out 10
#define TestOut 13 #define TestOut 13
IR_Encoder::IR_Encoder(uint16_t addr, uint8_t pin, IR_DecoderRaw* decPair = nullptr) { IR_Encoder::IR_Encoder(uint16_t addr, IR_DecoderRaw* decPair = nullptr) {
id = addr; id = addr;
this->decPair = decPair; this->decPair = decPair;
signal = noSignal; signal = noSignal;

View File

@ -18,7 +18,7 @@ public:
/// @param pin Вывод передатчика /// @param pin Вывод передатчика
/// @param tune Подстройка несущей частоты /// @param tune Подстройка несущей частоты
/// @param decPair Приёмник, для которого отключается приём в момент передачи передатчиком /// @param decPair Приёмник, для которого отключается приём в момент передачи передатчиком
IR_Encoder(uint16_t addr, uint8_t pin, IR_DecoderRaw* decPair = nullptr); IR_Encoder(uint16_t addr, IR_DecoderRaw* decPair = nullptr);
static void timerSetup() { static void timerSetup() {
// TIMER2 Ini // TIMER2 Ini