Commit bbea0c5b56f0b529f41a6f0f4cc2c13e20c870f2
1 parent
aa6e897f
--no commit message
Showing
1 changed file
with
1 additions
and
1 deletions
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); |