mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
CHG: not using the parity values for logging. Saves some few ticks :)
This commit is contained in:
parent
51e930bcba
commit
7810dac62d
1 changed files with 12 additions and 9 deletions
|
@ -707,9 +707,10 @@ void RAMFUNC SnoopIClass(void) {
|
|||
|
||||
//if(!LogTrace(Uart.output,Uart.byteCnt, rsamples, Uart.parityBits,true)) break;
|
||||
//if(!LogTrace(NULL, 0, Uart.endTime*16 - DELAY_READER_AIR2ARM_AS_SNIFFER, 0, true)) break;
|
||||
uint8_t parity[Uart.byteCnt/8];
|
||||
GetParity(Uart.output, Uart.byteCnt, parity);
|
||||
LogTrace(Uart.output, Uart.byteCnt, time_start, time_stop, parity, true);
|
||||
//uint8_t parity[Uart.byteCnt/8];
|
||||
//GetParity(Uart.output, Uart.byteCnt, parity);
|
||||
//LogTrace(Uart.output, Uart.byteCnt, time_start, time_stop, parity, true);
|
||||
LogTrace(Uart.output, Uart.byteCnt, time_start, time_stop, NULL, true);
|
||||
|
||||
/* And ready to receive another command. */
|
||||
Uart.state = STATE_UNSYNCD;
|
||||
|
@ -732,9 +733,10 @@ void RAMFUNC SnoopIClass(void) {
|
|||
rsamples = samples - Demod.samples;
|
||||
LED_B_ON();
|
||||
|
||||
uint8_t parity[Demod.len/8];
|
||||
GetParity(Demod.output, Demod.len, parity);
|
||||
LogTrace(Demod.output, Demod.len, time_start, time_stop, parity, false);
|
||||
//uint8_t parity[Demod.len/8];
|
||||
//GetParity(Demod.output, Demod.len, parity);
|
||||
//LogTrace(Demod.output, Demod.len, time_start, time_stop, parity, false);
|
||||
LogTrace(Demod.output, Demod.len, time_start, time_stop, NULL, false);
|
||||
|
||||
// And ready to receive another response.
|
||||
memset(&Demod, 0, sizeof(Demod));
|
||||
|
@ -1474,9 +1476,10 @@ void ReaderTransmitIClass(uint8_t* frame, int len) {
|
|||
LED_A_ON();
|
||||
|
||||
// Store reader command in buffer
|
||||
uint8_t par[len/8];
|
||||
GetParity(frame, len, par);
|
||||
LogTrace(frame, len, rsamples, rsamples, par, true);
|
||||
//uint8_t par[len/8];
|
||||
//GetParity(frame, len, par);
|
||||
//LogTrace(frame, len, rsamples, rsamples, par, true);
|
||||
LogTrace(frame, len, rsamples, rsamples, NULL, true);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue