diff --git a/IR_Encoder.h b/IR_Encoder.h index f314d16..0a89557 100644 --- a/IR_Encoder.h +++ b/IR_Encoder.h @@ -41,6 +41,9 @@ public: SREG = oldSREG; // Return interrupt settings } + static void timerOFFSetup(){ + TIMSK2 &= ~(1 << OCIE2A); // Прерывание по совпадению выкл + } void IR_Encoder::setBlindDecoders(IR_DecoderRaw* decoders [], uint8_t count); void rawSend(uint8_t* ptr, uint8_t len);