From b542501fb6b15742233296905750ddc297a754ed Mon Sep 17 00:00:00 2001 From: BorisKofman Date: Thu, 19 Sep 2024 10:41:39 +0300 Subject: [PATCH] Update IRrecv.cpp --- src/IRrecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRrecv.cpp b/src/IRrecv.cpp index db6609406..099c4486b 100644 --- a/src/IRrecv.cpp +++ b/src/IRrecv.cpp @@ -379,7 +379,7 @@ void IRrecv::enableIRIn(const bool pullup) { timer = timerBegin(1000000); // Initialize with 1MHz (1us per tick) #else // Fallback for ESP32 core version 2.x or earlier - timer = timerBegin(0, 1000000, true); // Old signature with divider + timer = timerBegin(_timer_num, 80, true); #endif // ARDUINO_COREV3 // Ensure the timer is successfully initialized