summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-watchdog/src/watchdog.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-22 19:33:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-22 19:33:30 +0000
commitc6a29c1a08f3e6bfcf5550a8428d7f444b2c1498 (patch)
treec6952c0b765a6a32979ae837ef7ea1d730a633ce /contrib/package/freifunk-watchdog/src/watchdog.h
parent216937af29f22e6a9ee7f2124bb8e22d57f961e3 (diff)
contrib/package/freifunk-watchdog:
- lower watchdog poll interval to 10 seconds (fixes reboot porblems on rb532) - prevent unneeded config reloads (happens when no wireless device is active) - remove not working watchdog stop workaround (no driver can cope with 3600) - bump pkg revision
Diffstat (limited to 'contrib/package/freifunk-watchdog/src/watchdog.h')
-rw-r--r--contrib/package/freifunk-watchdog/src/watchdog.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/package/freifunk-watchdog/src/watchdog.h b/contrib/package/freifunk-watchdog/src/watchdog.h
index d3dc286fdd..9c4d5570e5 100644
--- a/contrib/package/freifunk-watchdog/src/watchdog.h
+++ b/contrib/package/freifunk-watchdog/src/watchdog.h
@@ -39,8 +39,11 @@
#include "wireless.22.h"
-/* Check interval */
-#define INTERVAL 30
+/* Watchdog poll interval */
+#define BASE_INTERVAL 5
+
+/* Action interval (N * BASE_INTERVAL) */
+#define ACTION_INTERVAL 6
/* Hysteresis */
#define HYSTERESIS 3