mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #1530 from pieterg/patch-1
armsrc/felica: fix crc offsets in felica_sim_lite
This commit is contained in:
commit
94b597febf
1 changed files with 3 additions and 3 deletions
|
@ -681,9 +681,9 @@ void felica_sim_lite(uint8_t *uid) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate and set CRC
|
// calculate and set CRC
|
||||||
AddCrc(resp_poll0, resp_poll0[2]);
|
AddCrc(&resp_poll0[2], resp_poll0[2]);
|
||||||
AddCrc(resp_poll1, resp_poll1[2]);
|
AddCrc(&resp_poll1[2], resp_poll1[2]);
|
||||||
AddCrc(resp_readblk, resp_readblk[2]);
|
AddCrc(&resp_readblk[2], resp_readblk[2]);
|
||||||
|
|
||||||
iso18092_setup(FPGA_HF_ISO18092_FLAG_NOMOD);
|
iso18092_setup(FPGA_HF_ISO18092_FLAG_NOMOD);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue