mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
fix: hi/low should not be same
This commit is contained in:
parent
47d6eef7c9
commit
0ffb748f5e
1 changed files with 1 additions and 2 deletions
|
@ -201,7 +201,7 @@ void getHiLo(int *high, int *low, uint8_t fuzzHi, uint8_t fuzzLo) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// if fuzzing to great and overlap
|
// if fuzzing to great and overlap
|
||||||
if (*high < *low) {
|
if (*high <= *low) {
|
||||||
*high = signalprop.high;
|
*high = signalprop.high;
|
||||||
*low = signalprop.low;
|
*low = signalprop.low;
|
||||||
}
|
}
|
||||||
|
@ -1723,7 +1723,6 @@ int nrzRawDemod(uint8_t *dest, size_t *size, int *clk, int *invert, int *startId
|
||||||
size_t i;
|
size_t i;
|
||||||
int high, low;
|
int high, low;
|
||||||
|
|
||||||
getHiLo(&high, &low, 75, 75);
|
|
||||||
getHiLo(&high, &low, 75, 75);
|
getHiLo(&high, &low, 75, 75);
|
||||||
|
|
||||||
uint8_t bit = 0;
|
uint8_t bit = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue