Add warning on MAX_SLEEP_TIME constraints
@@ -70,7 +70,10 @@ LIST(modules_list);
/* Wake up this much time earlier before the next rtimer */
#define SLEEP_GUARD_TIME (RTIMER_SECOND / 1000) /* 1.0 ms */
+/* Maximum allowed sleep-time, must be shorter than watchdog timeout */
#define MAX_SLEEP_TIME RTIMER_SECOND
+
+/* Minimal safe sleep-time */
#define MIN_SAFE_SCHEDULE 8u
/*---------------------------------------------------------------------------*/
/* Prototype of a function in clock.c. Called every time we come out of DS */
