mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
hitag: comment debug messages in critical loop
This commit is contained in:
parent
65de9ca2c2
commit
3d95590fc9
1 changed files with 3 additions and 3 deletions
|
@ -1450,7 +1450,7 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) {
|
||||||
} else {
|
} else {
|
||||||
// The function lf_count_edge_periods() returns 0 when a time-out occurs
|
// The function lf_count_edge_periods() returns 0 when a time-out occurs
|
||||||
if (periods == 0) {
|
if (periods == 0) {
|
||||||
Dbprintf("Detected timeout after [%d] nrz samples", nrzs);
|
//Dbprintf("Detected timeout after [%d] nrz samples", nrzs);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1470,7 +1470,7 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) {
|
||||||
tag_modulation ^= 1;
|
tag_modulation ^= 1;
|
||||||
} else {
|
} else {
|
||||||
// The function lf_count_edge_periods() returns > 64 periods, this is not a valid number periods
|
// The function lf_count_edge_periods() returns > 64 periods, this is not a valid number periods
|
||||||
Dbprintf("Detected unexpected period count: %d", periods);
|
//Dbprintf("Detected unexpected period count: %d", periods);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1510,7 +1510,7 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) {
|
||||||
|
|
||||||
// Verify if the header consists of five consecutive ones
|
// Verify if the header consists of five consecutive ones
|
||||||
if (nrzs < 5) {
|
if (nrzs < 5) {
|
||||||
Dbprintf("Detected unexpected number of manchester decoded samples [%d]", nrzs);
|
//Dbprintf("Detected unexpected number of manchester decoded samples [%d]", nrzs);
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
for (size_t i = 0; i < 5; i++) {
|
for (size_t i = 0; i < 5; i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue