Reduce compiler warnings due to format string mismatches.

This commit is contained in:
Henry Gabryjelski committed 2019-10-05 17:25:48 -07:00
1 parent e62e803fc4
commit a5ce35904f
1 file changed
+2 -1
+2 -1
View File
@@ -171,7 +171,8 @@ const char* dbg_err_str(int32_t err_id); // TODO move to other place
#define ADALOG_BUFFER(_tag, _buf, _n) \
do {\
if ( _tag ) PRINTF("%-6s: len = %d\n", _tag, _n);\
const char * _xtag = _tag;\
if ( _xtag ) PRINTF("%-6s: len = %d\n", _xtag, _n);\
dbgDumpMemory(_buf, 1, _n, true);\
}while(0)