Remove the watchdog feeding operation from each iteration of the loop to reduce power consumption.

This commit is contained in:
Quency-D
2026-07-14 17:23:13 +08:00
parent b81fb8ebe8
commit 4d0ba1516c
-3
View File
@@ -160,9 +160,6 @@ void loop() {
external_watchdog.loop();
#endif
if (the_mesh.getNodePrefs()->powersaving_enabled && !the_mesh.hasPendingWork()) {
#ifdef HAS_EXTERNAL_WATCHDOG
external_watchdog.feed();
#endif
#if defined(NRF52_PLATFORM)
board.sleep(0); // nrf ignores seconds param, sleeps whenever possible
#else