X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=contrib%2Fpackage%2Ffreifunk-watchdog%2Fsrc%2Fwatchdog.h;h=9c4d5570e571f4963514bef9ba2fabbd4fcae982;hp=d3dc286fdd97adc51c940396d51fb9ce10e9bf78;hb=c6a29c1a08f3e6bfcf5550a8428d7f444b2c1498;hpb=216937af29f22e6a9ee7f2124bb8e22d57f961e3;ds=sidebyside diff --git a/contrib/package/freifunk-watchdog/src/watchdog.h b/contrib/package/freifunk-watchdog/src/watchdog.h index d3dc286fd..9c4d5570e 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