diff options
author | Mark Greer <mgreer@animalcreek.com> | 2017-06-08 15:33:07 -0700 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-11-10 00:23:57 +0100 |
commit | 126e0720c21a695b48f436214d9020bb21bf6956 (patch) | |
tree | 5c3d29f1f3620a6e8816c451d800a97b51dba9b9 | |
parent | e644b579a38e83a6e7756d96a016c220026421d7 (diff) | |
download | neard-126e0720c21a695b48f436214d9020bb21bf6956.tar.gz |
nfctype5: Reduce noise when tag is moved out of range
The NFC Type 5 tag code prints a message whenever it receives an
error. This makes it extra noisy compared to the other tag types
whenever a tag is moved out of range. Instead, reduce that noise
by turning the error message into a debug message.
Signed-off-by: Mark Greer <mgreer@animalcreek.com>
-rw-r--r-- | plugins/nfctype5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/nfctype5.c b/plugins/nfctype5.c index 1beb3a8..2fccec5 100644 --- a/plugins/nfctype5.c +++ b/plugins/nfctype5.c @@ -226,7 +226,7 @@ static int t5_check_resp(uint8_t *resp, int length) DBG(""); if (length < 0) { - near_error("Cmd failure: %d", length); + DBG("Cmd failure: %d", length); err = length; } else if (resp[0]) { near_error("NFC Failure: 0x%x", resp[0]); |