mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
CHG: syntax suger
This commit is contained in:
parent
f9b5377fd0
commit
cd79d97223
2 changed files with 2 additions and 2 deletions
|
@ -787,7 +787,7 @@ void LegicRfSimulate(int phase, int frame, int reqresp)
|
||||||
* measure the time between two rising edges on DIN, and no encoding on the
|
* measure the time between two rising edges on DIN, and no encoding on the
|
||||||
* subcarrier from card to reader, so we'll just shift out our verbatim data
|
* subcarrier from card to reader, so we'll just shift out our verbatim data
|
||||||
* on DOUT, 1 bit is 100us. The time from reader to card frame is still unclear,
|
* on DOUT, 1 bit is 100us. The time from reader to card frame is still unclear,
|
||||||
* seems to be 300us-ish.
|
* seems to be 330us.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int old_level = 0, active = 0;
|
int old_level = 0, active = 0;
|
||||||
|
|
|
@ -184,7 +184,7 @@ int CmdHF14AReader(const char *Cmd) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
WaitForResponse(CMD_ACK,&resp);
|
WaitForResponse(CMD_ACK, &resp);
|
||||||
|
|
||||||
iso14a_card_select_t card;
|
iso14a_card_select_t card;
|
||||||
memcpy(&card, (iso14a_card_select_t *)resp.d.asBytes, sizeof(iso14a_card_select_t));
|
memcpy(&card, (iso14a_card_select_t *)resp.d.asBytes, sizeof(iso14a_card_select_t));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue