Commit bbea0c5b56f0b529f41a6f0f4cc2c13e20c870f2

Authored by Maria Jorba Brosa
1 parent aa6e897f

--no commit message

Project/applications/smartcities/buffer.c
@@ -31,7 +31,7 @@ int check_memory(){ @@ -31,7 +31,7 @@ int check_memory(){
31 31
32 int mem_free=libwismart_GetMemFree_Ram().free_core; 32 int mem_free=libwismart_GetMemFree_Ram().free_core;
33 printf("- free_core: %d %d\r\n", mem_free, MAX_RAM-mem_free); 33 printf("- free_core: %d %d\r\n", mem_free, MAX_RAM-mem_free);
34 - printf("- free: %d %d\r\n", libwismart_GetMemFree_Ram().free, MAX_RAM-mem_free - libwismart_GetMemFree_Ram().free); 34 + printf("- free: %d %d\r\n", libwismart_GetMemFree_Ram().free, MAX_RAM- libwismart_GetMemFree_Ram().free);
35 printf("- free_chibios: %d %d\r\n", libwismart_GetMemFree_Ram().free_chibios, MAX_RAM-libwismart_GetMemFree_Ram().free_chibios); 35 printf("- free_chibios: %d %d\r\n", libwismart_GetMemFree_Ram().free_chibios, MAX_RAM-libwismart_GetMemFree_Ram().free_chibios);
36 size_t heapsize; 36 size_t heapsize;
37 chHeapStatus(NULL, &heapsize); 37 chHeapStatus(NULL, &heapsize);