From 3d95590fc92c071edaf487838176509770fb4924 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 15 Jan 2020 23:26:02 +0100 Subject: [PATCH] hitag: comment debug messages in critical loop --- armsrc/hitag2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/armsrc/hitag2.c b/armsrc/hitag2.c index f61cdf432..a161b4463 100644 --- a/armsrc/hitag2.c +++ b/armsrc/hitag2.c @@ -1450,7 +1450,7 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) { } else { // The function lf_count_edge_periods() returns 0 when a time-out occurs if (periods == 0) { - Dbprintf("Detected timeout after [%d] nrz samples", nrzs); + //Dbprintf("Detected timeout after [%d] nrz samples", nrzs); break; } } @@ -1470,7 +1470,7 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) { tag_modulation ^= 1; } else { // 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; } } @@ -1510,7 +1510,7 @@ void ReaderHitag(hitag_function htf, hitag_data *htd) { // Verify if the header consists of five consecutive ones if (nrzs < 5) { - Dbprintf("Detected unexpected number of manchester decoded samples [%d]", nrzs); + //Dbprintf("Detected unexpected number of manchester decoded samples [%d]", nrzs); break; } else { for (size_t i = 0; i < 5; i++) {