Coder Social home page Coder Social logo

Comments (7)

ArminJo avatar ArminJo commented on May 25, 2024 1

Thanks for reporting! 👍

from arduino-irremote.

ArminJo avatar ArminJo commented on May 25, 2024 1

Thank you very much, I will include the fix it in the forthcoming release.

from arduino-irremote.

whc2001 avatar whc2001 commented on May 25, 2024

Just found that if I don't stop the receiver after successfully receiving a signal, the error won't appear... But will that cause any problem?

Commenting out this line and the problem is away:

from arduino-irremote.

ArminJo avatar ArminJo commented on May 25, 2024

Which ESP32 core version do you use?
There are bugs in the timer functions in some 2.x versions. See here

from arduino-irremote.

whc2001 avatar whc2001 commented on May 25, 2024

Ahh it's an upstream problem, no wonder. I am using 2.0.4 and the latest 2.0.5 also does not work. Downgrading to 2.0.1 solves the problem.

from arduino-irremote.

ArminJo avatar ArminJo commented on May 25, 2024

BTW, can you please test if 2.0.1 and 2.0.5 are working if you change the line 1122 in IRTimer.hpp from
#define TIMER_DISABLE_RECEIVE_INTR if (s50usTimer != NULL) {timerEnd(s50usTimer); timerDetachInterrupt(s50usTimer);}
to
#define TIMER_DISABLE_RECEIVE_INTR if (s50usTimer != NULL) {timerDetachInterrupt(s50usTimer);}
or
#define TIMER_DISABLE_RECEIVE_INTR if (s50usTimer != NULL) {timerAlarmDisable(s50usTimer);}
this could then be a stable fix to this problem.

from arduino-irremote.

whc2001 avatar whc2001 commented on May 25, 2024

Seems like the second fix won't work on 2.0.1 but works on 2.0.5. The first fix would work on both 2.0.1 and 2.0.5.

from arduino-irremote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.