diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-06-07 17:39:45 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-10-20 23:54:04 -0700 |
commit | 3ce4a67d4b55dcd9d37ffcfc0ff6d680012dee01 (patch) | |
tree | db5ec47a3a0f1387ac2328792db028cbbe6ce19d /plugins | |
parent | 799622166141cf1d85076cdc3e37837a06e40bbe (diff) | |
download | neard-3ce4a67d4b55dcd9d37ffcfc0ff6d680012dee01.tar.gz neard-3ce4a67d4b55dcd9d37ffcfc0ff6d680012dee01.tar.bz2 neard-3ce4a67d4b55dcd9d37ffcfc0ff6d680012dee01.zip |
nfctype2: No need to be that verbose
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/nfctype2.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/nfctype2.c b/plugins/nfctype2.c index efdbc8e..767d928 100644 --- a/plugins/nfctype2.c +++ b/plugins/nfctype2.c @@ -122,14 +122,10 @@ static uint8_t *tlv_data(uint8_t *data) static int data_parse(struct near_tag *tag, uint8_t *data, uint16_t length) { - uint8_t *tlv = data; - uint8_t t, i; + uint8_t *tlv = data, t; DBG(""); - for (i = 0; i < length; i++) - DBG("data[%d] 0x%x", i, tlv[i]); - while(1) { t = tlv[0]; |