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 1eb1443 commit 652921bCopy full SHA for 652921b
src/IRrecv.cpp
@@ -237,8 +237,8 @@ static void USE_IRAM_ATTR gpio_intr() {
237
// USE_IRAM_ATTR in this ISR.
238
// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/1350
239
// @see https://github.com/espressif/arduino-esp32/blob/6b0114366baf986c155e8173ab7c22bc0c5fcedc/cores/esp32/esp32-hal-timer.c#L106-L110
240
- timer->dev->load_high = (uint32_t) 0;
241
- timer->dev->load_low = (uint32_t) 0;
+ timer->dev->load_high = static_cast<uint32_t>(0);
+ timer->dev->load_low = static_cast<uint32_t>(0);
242
timer->dev->reload = 1;
243
// The next line is the same, but instead replaces:
244
// `timerAlarmEnable(timer);`
0 commit comments