mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-12 11:08:29 +08:00
unshadow
This commit is contained in:
parent
55cbedc600
commit
eadc980835
1 changed files with 1 additions and 4 deletions
|
@ -138,7 +138,6 @@ int CmdTIDemod(const char *Cmd) {
|
||||||
// look for 17 low bits followed by 6 highs (common pattern for ro and rw tags)
|
// look for 17 low bits followed by 6 highs (common pattern for ro and rw tags)
|
||||||
int max = 0, maxPos = 0;
|
int max = 0, maxPos = 0;
|
||||||
for (i = 0; i < 6000; i++) {
|
for (i = 0; i < 6000; i++) {
|
||||||
int j;
|
|
||||||
int dec = 0;
|
int dec = 0;
|
||||||
// searching 17 consecutive lows
|
// searching 17 consecutive lows
|
||||||
for (j = 0; j < 17 * lowLen; j++) {
|
for (j = 0; j < 17 * lowLen; j++) {
|
||||||
|
@ -177,9 +176,7 @@ int CmdTIDemod(const char *Cmd) {
|
||||||
uint32_t shift3 = 0x7e000000, shift2 = 0, shift1 = 0, shift0 = 0;
|
uint32_t shift3 = 0x7e000000, shift2 = 0, shift1 = 0, shift0 = 0;
|
||||||
|
|
||||||
for (i = 0; i < ARRAYLEN(bits) - 1; i++) {
|
for (i = 0; i < ARRAYLEN(bits) - 1; i++) {
|
||||||
int high = 0;
|
int high = 0, low = 0;
|
||||||
int low = 0;
|
|
||||||
int j;
|
|
||||||
for (j = 0; j < lowLen; j++) {
|
for (j = 0; j < lowLen; j++) {
|
||||||
low -= GraphBuffer[maxPos + j];
|
low -= GraphBuffer[maxPos + j];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue