From b5f7fce9aacff092a9b4f2b51785822b037c81bd Mon Sep 17 00:00:00 2001 From: Emilio Soca Herrera Date: Tue, 20 May 2014 15:52:44 +0000 Subject: [PATCH] --- Project/applications/smartcities/sensors.c | 3 +++ Project/applications/smartcities/timer-loop.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Project/applications/smartcities/sensors.c b/Project/applications/smartcities/sensors.c index 61356da..944609d 100644 --- a/Project/applications/smartcities/sensors.c +++ b/Project/applications/smartcities/sensors.c @@ -285,6 +285,9 @@ char* temp_humidity_value(uint16_t temp, uint16_t humidity) sprintf(value,"%d,%d",temp,humidity); return value; } +void collecData(char* valueSensors, uint8_t* sensors){ + +} //light_value(get_light_data()); //temp_humidity_value(get_temperature_data(),get_humidity_data()); \ No newline at end of file diff --git a/Project/applications/smartcities/timer-loop.c b/Project/applications/smartcities/timer-loop.c index fba450f..deb75ec 100644 --- a/Project/applications/smartcities/timer-loop.c +++ b/Project/applications/smartcities/timer-loop.c @@ -2,10 +2,10 @@ #include "libwismart_irqs.h" #include "lwip/inet.h" -#define HALF_HOUR 60*3 +/*#define HALF_HOUR 60*3 #define FIVE_MIN 60*1 #define LONG_PERIOD HALF_HOUR -#define SHORT_PERIOD FIVE_MIN +#define SHORT_PERIOD FIVE_MIN*/ void initLibwismart(void) { -- libgit2 0.22.2