Browse Source

fix: 启用PSRAM时提前执行luat_main

Wendal Chen 2 năm trước cách đây
mục cha
commit
e6f4b7dfd5
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      app/port/luat_malloc_air101.c

+ 0 - 1
app/port/luat_malloc_air101.c

@@ -91,7 +91,6 @@ void luat_heap_init(void) {
 		#else
 		bpool(psram_ptr, 4*1024*1024); // 如果是8M内存, 改成 8也可以.
 		#endif
-		luat_main();
 		return;
 	}
 #else