diff --git a/Project/applications/smartcities/include/timer-loop.h b/Project/applications/smartcities/include/timer-loop.h index 0322566..166ebdf 100644 --- a/Project/applications/smartcities/include/timer-loop.h +++ b/Project/applications/smartcities/include/timer-loop.h @@ -2,10 +2,10 @@ #include "libwismart_irqs.h" #include "lwip/inet.h" -#define HALF_HOUR 60*3 -#define FIVE_MIN 60*1 -#define LONG_PERIOD HALF_HOUR -#define SHORT_PERIOD FIVE_MIN +#define HALF_HOUR 60*30 // time in seconds +#define FIVE_MIN 60*5 // time in seconds +#define LONG_PERIOD HALF_HOUR //60*3 // for testing +#define SHORT_PERIOD FIVE_MIN //60*1 // for testing unsigned int getSystemTime(); diff --git a/Project/applications/smartcities/timer-loop.c b/Project/applications/smartcities/timer-loop.c index deb75ec..3073389 100644 --- a/Project/applications/smartcities/timer-loop.c +++ b/Project/applications/smartcities/timer-loop.c @@ -2,11 +2,6 @@ #include "libwismart_irqs.h" #include "lwip/inet.h" -/*#define HALF_HOUR 60*3 -#define FIVE_MIN 60*1 -#define LONG_PERIOD HALF_HOUR -#define SHORT_PERIOD FIVE_MIN*/ - void initLibwismart(void) { wismart_hwif_t hwif = libwismart_GetDefaultHWIF();