Browse Source

troubleshoot ota crash

Sebastien 5 năm trước cách đây
mục cha
commit
2c3df6a8ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/config.c

+ 1 - 1
main/config.c

@@ -83,7 +83,7 @@ void init_cJSON(){
 	// initialize cJSON hooks it uses SPIRAM memory
 	// as opposed to IRAM
 	hooks.malloc_fn=&malloc_fn;
-    hooks.free_fn=&free_fn;
+    //hooks.free_fn=&free_fn;
 	cJSON_InitHooks(&hooks);
 }
 void config_init(){