Browse Source

fix: min_free_size在wm_mem.c的修改忘上传了

Wendal Chen 2 years ago
parent
commit
6a77d5a26d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/common/mem/wm_mem.c

+ 1 - 0
platform/common/mem/wm_mem.c

@@ -508,6 +508,7 @@ u32 alloc_heap_mem_max_size = 0;
 
 
 #define USING_ADD_HEADER   1
 #define USING_ADD_HEADER   1
 extern u32 total_mem_size;
 extern u32 total_mem_size;
+extern u32 min_free_size;
 void * mem_alloc_debug(u32 size)
 void * mem_alloc_debug(u32 size)
 {
 {
     u32 cpu_sr = 0;
     u32 cpu_sr = 0;