projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1604d0a
)
Bugfix hf 14a raw:
v1.1.0
author
pwpiwi
<pwpiwi@users.noreply.github.com>
Tue, 1 Jul 2014 06:28:28 +0000
(08:28 +0200)
committer
pwpiwi
<pwpiwi@users.noreply.github.com>
Tue, 1 Jul 2014 06:28:28 +0000
(08:28 +0200)
number of bits sent was wrong when option -c was used without option -b
armsrc/iso14443a.c
patch
|
blob
|
blame
|
history
diff --git
a/armsrc/iso14443a.c
b/armsrc/iso14443a.c
index d5dd05ca14be2eaed5a0db7df78ace80df5c0df4..fe284352dfb0a46e8f41db99b462faf1fb58e63a 100644
(file)
--- a/
armsrc/iso14443a.c
+++ b/
armsrc/iso14443a.c
@@
-1861,10
+1861,9
@@
void ReaderIso14443a(UsbCommand *c)
if(param & ISO14A_APPEND_CRC) {
AppendCrc14443a(cmd,len);
len += 2;
- lenbits += 16;
+
if (lenbits)
lenbits += 16;
}
if(lenbits>0) {
-
ReaderTransmitBitsPar(cmd,lenbits,GetParity(cmd,lenbits/8), NULL);
} else {
ReaderTransmit(cmd,len, NULL);
Impressum
,
Datenschutz