Correctly use the log_put() format
Fix compiler warning: warning: format not a string literal and no format arguments
This commit is contained in:
parent
eb1e6d0cb4
commit
3737481262
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@
|
|||
snprintf (__acBuf + __szBuf, sizeof(__acBuf) - __szBuf, "%02x ",((uint8_t *)(pbtData))[__szPos]); \
|
||||
__szBuf += 4; \
|
||||
} \
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, __acBuf); \
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", __acBuf); \
|
||||
} while (0);
|
||||
# else
|
||||
# define LOG_HEX(pcTag, pbtData, szBytes) do { \
|
||||
|
|
Loading…
Reference in a new issue