chg: code cleaning

This commit is contained in:
iceman1001 2017-11-11 22:34:34 +01:00
commit a4069fe2aa
2 changed files with 4 additions and 8 deletions

View file

@ -1452,9 +1452,6 @@ void ReaderHitag(hitag_function htf, hitag_data* htd) {
// Capture tag frame (manchester decoding using only falling edges) // Capture tag frame (manchester decoding using only falling edges)
if (ra >= HITAG_T_EOF) { if (ra >= HITAG_T_EOF) {
if (rxlen != 0) {
//DbpString("wierd1?");
}
// Capture the T0 periods that have passed since last communication or field drop (reset) // Capture the T0 periods that have passed since last communication or field drop (reset)
// We always recieve a 'one' first, which has the falling edge after a half period |-_| // We always recieve a 'one' first, which has the falling edge after a half period |-_|
response = ra-HITAG_T_TAG_HALF_PERIOD; response = ra-HITAG_T_TAG_HALF_PERIOD;

View file

@ -962,7 +962,6 @@ void SimulateHitagSTag(bool tag_mem_supplied, byte_t* data) {
tag.pstate = HT_READY; tag.pstate = HT_READY;
tag.tstate = HT_NO_OP; tag.tstate = HT_NO_OP;
tag.tstate = HT_NO_OP;
for (i = 0; i < 16; i++) for (i = 0; i < 16; i++)
for (j = 0; j < 4; j++) for (j = 0; j < 4; j++)
tag.pages[i][j] = 0x0; tag.pages[i][j] = 0x0;