mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
cppchecker fix - conditionknown
This commit is contained in:
parent
a7ececcb5d
commit
31125b9d34
1 changed files with 2 additions and 1 deletions
|
@ -1582,9 +1582,10 @@ static uint16_t cleanAskRawDemod(uint8_t *bits, size_t *size, int clk, int inver
|
||||||
|
|
||||||
if (waveHigh) {
|
if (waveHigh) {
|
||||||
bits[bitCnt++] = invert;
|
bits[bitCnt++] = invert;
|
||||||
} else if (!waveHigh) {
|
} else {
|
||||||
bits[bitCnt++] = invert ^ 1;
|
bits[bitCnt++] = invert ^ 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*startIdx == 0) {
|
if (*startIdx == 0) {
|
||||||
*startIdx = i - cl_2;
|
*startIdx = i - cl_2;
|
||||||
if (g_debugMode == 2) prnt("DEBUG ASK: cleanAskRawDemod minus half clock [%d]", *startIdx);
|
if (g_debugMode == 2) prnt("DEBUG ASK: cleanAskRawDemod minus half clock [%d]", *startIdx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue