Commit 34ed5975789328815453313c24d353a54420f7d8

Authored by Ferràn Quer i Guerrero
1 parent ff9eaa95

--no commit message

Project/applications/smartcities/include/timer-loop.h
... ... @@ -2,10 +2,10 @@
2 2 #include "libwismart_irqs.h"
3 3 #include "lwip/inet.h"
4 4  
5   -#define HALF_HOUR 60*3
6   -#define FIVE_MIN 60*1
7   -#define LONG_PERIOD HALF_HOUR
8   -#define SHORT_PERIOD FIVE_MIN
  5 +#define HALF_HOUR 60*30 // time in seconds
  6 +#define FIVE_MIN 60*5 // time in seconds
  7 +#define LONG_PERIOD HALF_HOUR //60*3 // for testing
  8 +#define SHORT_PERIOD FIVE_MIN //60*1 // for testing
9 9  
10 10 unsigned int getSystemTime();
11 11  
... ...
Project/applications/smartcities/timer-loop.c
... ... @@ -2,11 +2,6 @@
2 2 #include "libwismart_irqs.h"
3 3 #include "lwip/inet.h"
4 4  
5   -/*#define HALF_HOUR 60*3
6   -#define FIVE_MIN 60*1
7   -#define LONG_PERIOD HALF_HOUR
8   -#define SHORT_PERIOD FIVE_MIN*/
9   -
10 5 void initLibwismart(void)
11 6 {
12 7 wismart_hwif_t hwif = libwismart_GetDefaultHWIF();
... ...