Commit 320b770869555ff28fd468bd6605857a155b4719

Authored by Maria Jorba Brosa
1 parent 461ab220

--no commit message

Project/applications/smartcities/include/buffer.h
@@ -17,6 +17,6 @@ @@ -17,6 +17,6 @@
17 void put_message(char* info, char** buf,uint32_t* index); 17 void put_message(char* info, char** buf,uint32_t* index);
18 int check_memory(void); 18 int check_memory(void);
19 int send(char** buf, uint32_t index, char *provider_ID, char *sensor_ID); 19 int send(char** buf, uint32_t index, char *provider_ID, char *sensor_ID);
20 - 20 +void destroy(char** buf);
21 21
22 #endif 22 #endif
23 \ No newline at end of file 23 \ No newline at end of file
Project/applications/smartcities/main.c
@@ -71,7 +71,7 @@ int main(void) @@ -71,7 +71,7 @@ int main(void)
71 } 71 }
72 } 72 }
73 else if(res==HARD_REACHED){ 73 else if(res==HARD_REACHED){
74 - //destroy 74 + destroy(buffer);
75 } 75 }
76 chThdSleepMilliseconds(500); 76 chThdSleepMilliseconds(500);
77 } 77 }