pn53x: fix logging, timeout value
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
98c4eee28f
commit
0b9fe52b2b
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ pn53x_transceive(struct nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx
|
||||||
|
|
||||||
PNCMD_TRACE(pbtTx[0]);
|
PNCMD_TRACE(pbtTx[0]);
|
||||||
if (timeout > 0) {
|
if (timeout > 0) {
|
||||||
log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_DEBUG, "Timeout values: %d", timeout);
|
log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_DEBUG, "Timeout value: %d", timeout);
|
||||||
} else if (timeout == 0) {
|
} else if (timeout == 0) {
|
||||||
log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_DEBUG, "%s", "No timeout");
|
log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_DEBUG, "%s", "No timeout");
|
||||||
} else if (timeout == -1) {
|
} else if (timeout == -1) {
|
||||||
|
|
Loading…
Reference in a new issue