We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fd7d4 commit f4db0d9Copy full SHA for f4db0d9
src/IRrecv.cpp
@@ -387,7 +387,7 @@ void IRrecv::enableIRIn(const bool pullup) {
387
timer = timerBegin(1000000); // Initialize with 1MHz (1us per tick)
388
#else
389
// Fallback for ESP32 core version 2.x or earlier
390
- timer = timerBegin(0, 1000000, true); // Old signature with divider
+ timer = timerBegin(_timer_num, 80, true);
391
#endif // ARDUINO_COREV3
392
393
// Ensure the timer is successfully initialized
0 commit comments