Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisKofman committed Sep 6, 2024
1 parent b6803d9 commit 5bffe27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/IRrecv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ void IRrecv::enableIRIn(const bool pullup) {
(ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0))
// For ESP32 core version 3.x (three arguments)
timer = timerBegin(_timer_num);
#else
#else
// For ESP32 core version 2.0.x (one argument)
timer = timerBegin(_timer_num, 80, true);
#endif
Expand All @@ -387,7 +387,6 @@ void IRrecv::enableIRIn(const bool pullup) {
}
#endif // DEBUG
assert(timer != NULL); // Check we actually got the timer.

// Set the timer so it only fires once, and set its trigger in microseconds.
#if defined(ESP_ARDUINO_VERSION) && \
(ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0))
Expand Down

0 comments on commit 5bffe27

Please sign in to comment.