From 34ed5975789328815453313c24d353a54420f7d8 Mon Sep 17 00:00:00 2001 From: Ferràn Quer i Guerrero Date: Thu, 22 May 2014 08:39:05 +0000 Subject: [PATCH] --- Project/applications/smartcities/include/timer-loop.h | 8 ++++---- Project/applications/smartcities/timer-loop.c | 5 ----- 2 files changed, 4 insertions(+), 9 deletions(-) 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(); -- libgit2 0.22.2