CmdFSKsimTAG: swap fcH/fcL back, fix lf io/awid/pyramid sim

This commit is contained in:
Philippe Teuwen 2019-09-13 00:38:04 +02:00
commit 59ea79b583

View file

@ -1070,9 +1070,9 @@ void CmdFSKsimTAG(uint8_t fchigh, uint8_t fclow, uint8_t separator, uint8_t clk,
}
for (i = 0; i < bitslen; i++) {
if (bits[i])
mod = fcAll(fclow, &n, clk+mod, &modCnt);
else
mod = fcAll(fchigh, &n, clk+mod, &modCnt);
else
mod = fcAll(fclow, &n, clk+mod, &modCnt);
}
WDT_HIT();