mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
allow for more debug
This commit is contained in:
parent
c4c1601446
commit
a6c742772c
1 changed files with 3 additions and 2 deletions
|
@ -447,7 +447,7 @@ static int try_default_3des_keys(uint8_t **correct_key) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int try_default_aes_keys(void) {
|
static int try_default_aes_keys(void) {
|
||||||
|
/*
|
||||||
uint8_t dbg_curr = DBG_NONE;
|
uint8_t dbg_curr = DBG_NONE;
|
||||||
if (getDeviceDebugLevel(&dbg_curr) != PM3_SUCCESS) {
|
if (getDeviceDebugLevel(&dbg_curr) != PM3_SUCCESS) {
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
|
@ -456,6 +456,7 @@ static int try_default_aes_keys(void) {
|
||||||
if (setDeviceDebugLevel(DBG_NONE, false) != PM3_SUCCESS) {
|
if (setDeviceDebugLevel(DBG_NONE, false) != PM3_SUCCESS) {
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
int res = PM3_ESOFT;
|
int res = PM3_ESOFT;
|
||||||
|
|
||||||
|
@ -494,7 +495,7 @@ static int try_default_aes_keys(void) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setDeviceDebugLevel(dbg_curr, false);
|
// setDeviceDebugLevel(dbg_curr, false);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue