2024-12-10 22:06:49 +01:00
|
|
|
/* Global config file
|
2024-12-09 19:27:50 +01:00
|
|
|
*/
|
|
|
|
#ifndef CONFIG
|
|
|
|
#define CONFIG
|
|
|
|
|
|
|
|
#include <time.h>
|
2024-12-10 22:06:49 +01:00
|
|
|
// #define seconds(n) (n * CLOCKS_PER_SEC)
|
|
|
|
#define minutes(n) (60 * n)
|
|
|
|
#define hours(n) (60 * minutes(n))
|
|
|
|
#define days(n) (24 * hours(n))
|
2024-12-09 19:27:50 +01:00
|
|
|
|
2024-12-10 22:06:49 +01:00
|
|
|
static const time_t pauseLenght = minutes(15);
|
|
|
|
static const time_t minIntervalLen = minutes(30);
|
2024-12-09 19:27:50 +01:00
|
|
|
|
|
|
|
#endif
|