mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
added debug level for error messages
This commit is contained in:
parent
0d61572f6d
commit
9393ecc823
1 changed files with 12 additions and 6 deletions
|
@ -584,6 +584,7 @@ static bool login(uint8_t password[4]) {
|
|||
return true;
|
||||
|
||||
} else {
|
||||
if (DBGLEVEL >= DBG_ERROR)
|
||||
Dbprintf("error in command request");
|
||||
}
|
||||
|
||||
|
@ -605,6 +606,7 @@ static bool reset(void) {
|
|||
return true;
|
||||
|
||||
} else {
|
||||
if (DBGLEVEL >= DBG_ERROR)
|
||||
Dbprintf("error in command request");
|
||||
}
|
||||
|
||||
|
@ -634,6 +636,7 @@ static bool standard_read(int *now) {
|
|||
return true;
|
||||
|
||||
} else {
|
||||
if (DBGLEVEL >= DBG_ERROR)
|
||||
Dbprintf("didn't find a listen window");
|
||||
}
|
||||
|
||||
|
@ -667,6 +670,7 @@ static bool selective_read(uint8_t addresses[4]) {
|
|||
return true;
|
||||
|
||||
} else {
|
||||
if (DBGLEVEL >= DBG_ERROR)
|
||||
Dbprintf("error in command request");
|
||||
}
|
||||
|
||||
|
@ -736,6 +740,7 @@ static bool write(uint8_t word[4], uint8_t address) {
|
|||
}
|
||||
|
||||
} else {
|
||||
if (DBGLEVEL >= DBG_ERROR)
|
||||
Dbprintf("error in command request");
|
||||
}
|
||||
|
||||
|
@ -774,6 +779,7 @@ static bool write_password(uint8_t password[4], uint8_t new_password[4]) {
|
|||
}
|
||||
|
||||
} else {
|
||||
if (DBGLEVEL >= DBG_ERROR)
|
||||
Dbprintf("error in command request");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue