Basic debug library

Dependents:   modem_ref_helper_for_v5_3_217 modem_ref_helper

Files at this revision

API Documentation at this revision

Comitter:
Jeej
Date:
Fri Oct 01 08:46:24 2021 +0000
Parent:
11:45093cacde63
Commit message:
modem v6.2.84

Changed in this revision

WizziDebug.h Show annotated file Show diff for this revision Revisions of this file
diff -r 45093cacde63 -r d1e9df18d18c WizziDebug.h
--- a/WizziDebug.h	Fri Sep 24 12:36:20 2021 +0000
+++ b/WizziDebug.h	Fri Oct 01 08:46:24 2021 +0000
@@ -91,9 +91,9 @@
 
 
 #ifdef _TRACE_MALLOC_
-    #define MALLOC(s)       dbg_malloc((s),__FUNCTION__,__LINE__)
-    #define REALLOC(p,s)    dbg_realloc((p),(s),__FUNCTION__,__LINE__)
-    #define FREE(p)         dbg_free((p),__FUNCTION__,__LINE__)
+    #define MALLOC(s)       dbg_malloc((s),__FUNCTION__,__LINE__);FLUSH();
+    #define REALLOC(p,s)    dbg_realloc((p),(s),__FUNCTION__,__LINE__);FLUSH();
+    #define FREE(p)         dbg_free((p),__FUNCTION__,__LINE__);FLUSH();
 #else
     #define MALLOC(s)       malloc(s)
     #define REALLOC(p,s)    realloc(p,s)