From 2c3df6a8ce2227893b53444263b8d7393f3efbeb Mon Sep 17 00:00:00 2001 From: Sebastien Date: Wed, 13 Nov 2019 10:51:19 -0500 Subject: [PATCH] troubleshoot ota crash --- main/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/config.c b/main/config.c index 8a693538..8b1d89e2 100644 --- a/main/config.c +++ b/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(){