Skip to content

Commit 1b0f35f

Browse files
BorisKofmanBorisKofman
authored andcommitted
Update IRrecv.cpp
1 parent 5d9da88 commit 1b0f35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IRrecv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static void USE_IRAM_ATTR gpio_intr() {
254254
// For ESP32 core version 3.x, replace `timerAlarmEnable`
255255
timerWrite(timer, 0);
256256
uint64_t alarm_value = 50000; // Example value (50ms)
257-
timerAlarm(timer, alarm_value, false, 0); // Disable auto-reloadmer, alarm_value, false, 0); // Disable auto-reload
257+
timerAlarm(timer, alarm_value, false, 0);
258258
#else
259259
// For ESP32 core version 2.x, keep using `timerAlarmEnable`
260260
timerWrite(timer, 0);

0 commit comments

Comments
 (0)