Ubiquitous/RT_Thread/:change the path name

This commit is contained in:
chunyexixiaoyu
2021-12-14 17:12:52 +08:00
parent de27c59e51
commit 235dcb761c
77 changed files with 1 additions and 1 deletions
@@ -0,0 +1,11 @@
#include <rtthread.h>
#include <stdlib.h>
size_t get_free_heap_size(void)
{
rt_uint32_t total, used, max;
rt_memory_info(&total, &used, &max);
return total - used;
}