projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated CHANGELOG to new release 3.0.0
[proxmark3-svn]
/
armsrc
/
iso15693.c
diff --git
a/armsrc/iso15693.c
b/armsrc/iso15693.c
index 9a6ef9f01220a5d52fe441b7e16ae82e70affcb7..e11e5a9ccc6e232fa7374bf2c7f5fb1e2390ec66 100644
(file)
--- a/
armsrc/iso15693.c
+++ b/
armsrc/iso15693.c
@@
-319,7
+319,7
@@
static int GetIso15693AnswerFromTag(uint8_t *receivedResponse, int maxLen, int *
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
- int8_t r = ABS(b) + ABS(prev);
+
u
int8_t r = ABS(b) + ABS(prev);
dest[c++] = (uint8_t)r;
dest[c++] = (uint8_t)r;
@@
-356,7
+356,7
@@
static int GetIso15693AnswerFromTag(uint8_t *receivedResponse, int maxLen, int *
maxPos = i;
}
}
maxPos = i;
}
}
-
// DbpString
("SOF at %d, correlation %d", maxPos,max/(arraylen(FrameSOF)/skip));
+
// Dbprintf
("SOF at %d, correlation %d", maxPos,max/(arraylen(FrameSOF)/skip));
int k = 0; // this will be our return value
int k = 0; // this will be our return value
@@
-385,7
+385,7
@@
static int GetIso15693AnswerFromTag(uint8_t *receivedResponse, int maxLen, int *
corr1 *= 4;
if(corrEOF > corr1 && corrEOF > corr0) {
corr1 *= 4;
if(corrEOF > corr1 && corrEOF > corr0) {
-
// DbpString
("EOF at %d", i);
+
// Dbprintf
("EOF at %d", i);
break;
} else if(corr1 > corr0) {
i += arraylen(Logic1)/skip;
break;
} else if(corr1 > corr0) {
i += arraylen(Logic1)/skip;
@@
-457,7
+457,7
@@
static int GetIso15693AnswerFromSniff(uint8_t *receivedResponse, int maxLen, int
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
- int8_t r = ABS(b) + ABS(prev);
+
u
int8_t r = ABS(b) + ABS(prev);
dest[c++] = (uint8_t)r;
dest[c++] = (uint8_t)r;
@@
-626,7
+626,7
@@
void AcquireRawAdcSamplesIso15693(void)
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
- int8_t r = ABS(b) + ABS(prev);
+
u
int8_t r = ABS(b) + ABS(prev);
dest[c++] = (uint8_t)r;
dest[c++] = (uint8_t)r;
@@
-680,7
+680,7
@@
void RecordRawAdcSamplesIso15693(void)
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
// every other is Q. We just want power, so abs(I) + abs(Q) is
// close to what we want.
if(getNext) {
- int8_t r = ABS(b) + ABS(prev);
+
u
int8_t r = ABS(b) + ABS(prev);
dest[c++] = (uint8_t)r;
dest[c++] = (uint8_t)r;
Impressum
,
Datenschutz