Added some memory related debug features

This commit is contained in:
Alexandre Paillier
2022-05-03 15:41:58 +02:00
parent 59490beff9
commit 16081c38a9
3 changed files with 29 additions and 4 deletions

View File

@@ -739,6 +739,8 @@ int main(void)
return EXIT_FAILURE;
}
}
//printf("\n%d bytes used in RAM\n", (mem_idx + 1));
#ifdef DEBUG
printf("\n%lu bytes used in RAM\n", (mem_max + 1));
#endif
return EXIT_SUCCESS;
}