modified: Makefile

modified:   README.md
	new file:   debugOut
	modified:   doc/docu.md
	new file:   doc/overview.drawio
	new file:   doc/overview.png
	modified:   src/config.h
	modified:   src/db.c
	modified:   src/db.h
	modified:   src/iCal.c
	modified:   src/planner.c
	modified:   src/planner.h
	new file:   src/test.c
	modified:   src/ui.c

 Changes not staged for commit:
	deleted:    debugOut
This commit is contained in:
simon committed 2024-12-10 22:06:49 +01:00
1 parent 550a452249
commit b502e8040c
14 files changed
+231 -44

No files matched your search

+7 -7
View File
@@ -1,15 +1,15 @@
/* Global config file should be importet by all
/* Global config file
*/
#ifndef CONFIG
#define CONFIG
#include <time.h>
// #define seconds(n) (n * CLOCKS_PER_SEC)
#define minutes(n) (60 * n)
#define hours(n) (60 * minutes(n))
#define days(n) (24 * hours(n))
#define seconds(n) (n * CLOCKS_PER_SEC)
#define minutes(n) (n * 60 * seconds(n))
#define hours(n) (n * 60 *(minutes(n))
const time_t pauseLenght = minutes(15);
const time_t minIntervalLen = minutes(30);
static const time_t pauseLenght = minutes(15);
static const time_t minIntervalLen = minutes(30);
#endif