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);