From 320b770869555ff28fd468bd6605857a155b4719 Mon Sep 17 00:00:00 2001 From: Maria Jorba Brosa Date: Thu, 3 Apr 2014 06:24:05 +0000 Subject: [PATCH] --- Project/applications/smartcities/include/buffer.h | 2 +- Project/applications/smartcities/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project/applications/smartcities/include/buffer.h b/Project/applications/smartcities/include/buffer.h index 29d1c22..dd0a9ec 100644 --- a/Project/applications/smartcities/include/buffer.h +++ b/Project/applications/smartcities/include/buffer.h @@ -17,6 +17,6 @@ void put_message(char* info, char** buf,uint32_t* index); int check_memory(void); int send(char** buf, uint32_t index, char *provider_ID, char *sensor_ID); - +void destroy(char** buf); #endif \ No newline at end of file diff --git a/Project/applications/smartcities/main.c b/Project/applications/smartcities/main.c index 6d76249..956e771 100644 --- a/Project/applications/smartcities/main.c +++ b/Project/applications/smartcities/main.c @@ -71,7 +71,7 @@ int main(void) } } else if(res==HARD_REACHED){ - //destroy + destroy(buffer); } chThdSleepMilliseconds(500); } -- libgit2 0.22.2