Skip to content

Commit

Permalink
Update IRrecv.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisKofman committed Sep 19, 2024
1 parent eac0e4d commit b542501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IRrecv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b542501

Please sign in to comment.