From bbea0c5b56f0b529f41a6f0f4cc2c13e20c870f2 Mon Sep 17 00:00:00 2001 From: Maria Jorba Brosa Date: Tue, 20 May 2014 08:33:13 +0000 Subject: [PATCH] --- Project/applications/smartcities/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project/applications/smartcities/buffer.c b/Project/applications/smartcities/buffer.c index 8e0b767..a0461a6 100644 --- a/Project/applications/smartcities/buffer.c +++ b/Project/applications/smartcities/buffer.c @@ -31,7 +31,7 @@ int check_memory(){ int mem_free=libwismart_GetMemFree_Ram().free_core; printf("- free_core: %d %d\r\n", mem_free, MAX_RAM-mem_free); - printf("- free: %d %d\r\n", libwismart_GetMemFree_Ram().free, MAX_RAM-mem_free - libwismart_GetMemFree_Ram().free); + printf("- free: %d %d\r\n", libwismart_GetMemFree_Ram().free, MAX_RAM- libwismart_GetMemFree_Ram().free); printf("- free_chibios: %d %d\r\n", libwismart_GetMemFree_Ram().free_chibios, MAX_RAM-libwismart_GetMemFree_Ram().free_chibios); size_t heapsize; chHeapStatus(NULL, &heapsize); -- libgit2 0.22.2