mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
deleted debug output
This commit is contained in:
parent
a04002ab1b
commit
d6b90bbe6b
1 changed files with 3 additions and 5 deletions
|
@ -166,12 +166,10 @@ static bool get_signalproperties(void) {
|
||||||
gHigh = sample_ref + pct * (sample_max_mean - sample_ref) / 100;
|
gHigh = sample_ref + pct * (sample_max_mean - sample_ref) / 100;
|
||||||
gLow = sample_ref - pct * (sample_max_mean - sample_ref) / 100;
|
gLow = sample_ref - pct * (sample_max_mean - sample_ref) / 100;
|
||||||
|
|
||||||
Dbprintf("gHigh = %i, gLow = %i", gHigh, gLow);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool unvalid_bit(void) {
|
static bool invalid_bit(void) {
|
||||||
|
|
||||||
// returns true if bit is undefined by evaluating a single sample within
|
// returns true if bit is undefined by evaluating a single sample within
|
||||||
// a bit period (given there is no LIW, ACK or NAK)
|
// a bit period (given there is no LIW, ACK or NAK)
|
||||||
|
@ -365,7 +363,7 @@ static int find_double_listen_window(bool bcommand) {
|
||||||
// ...and check if the following bit does make sense
|
// ...and check if the following bit does make sense
|
||||||
// (if not it is the correct position within the second
|
// (if not it is the correct position within the second
|
||||||
// listen window)
|
// listen window)
|
||||||
if (unvalid_bit()) {
|
if (invalid_bit()) {
|
||||||
|
|
||||||
// send RM for request mode
|
// send RM for request mode
|
||||||
em4x50_reader_send_bit(0);
|
em4x50_reader_send_bit(0);
|
||||||
|
@ -583,7 +581,7 @@ static bool check_ack(bool bliw) {
|
||||||
|
|
||||||
// check for listen window (if first bit cannot be inerpreted
|
// check for listen window (if first bit cannot be inerpreted
|
||||||
// as a valid bit it must belong to a listen window)
|
// as a valid bit it must belong to a listen window)
|
||||||
if (unvalid_bit()) {
|
if (invalid_bit()) {
|
||||||
|
|
||||||
// send RM for request mode
|
// send RM for request mode
|
||||||
em4x50_reader_send_bit(0);
|
em4x50_reader_send_bit(0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue