CHG: syntax suger

This commit is contained in:
iceman1001 2016-10-08 19:14:35 +02:00
commit cd79d97223
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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));