Using board "esp32 from ExpressIf" : The code actual only works for version 2.0.17 or earlier, where the API is timerBegin(0, 80, true). Espressif changed the API for timer usage. The new API is timerBegin(uint32_t frequency).
See: https://arduino.stackexchange.com/questions/96504/timers-interrupt-is-not-working-in-esp32s2-board
The code should be updated in line 169 | wd_timer = timerBegin(0, 80, true);
Using board "esp32 from ExpressIf" : The code actual only works for version 2.0.17 or earlier, where the API is timerBegin(0, 80, true). Espressif changed the API for timer usage. The new API is timerBegin(uint32_t frequency).
See: https://arduino.stackexchange.com/questions/96504/timers-interrupt-is-not-working-in-esp32s2-board
The code should be updated in line 169 | wd_timer = timerBegin(0, 80, true);