mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
coverity 226215
This commit is contained in:
parent
d3efe5342c
commit
209fa45107
1 changed files with 7 additions and 7 deletions
|
@ -2975,14 +2975,14 @@ uint8_t tryOnePassword(uint32_t password, uint8_t downlink_mode) {
|
||||||
// check if dl mode 4 and loop if needed
|
// check if dl mode 4 and loop if needed
|
||||||
for (dl_mode = downlink_mode; dl_mode < 4; dl_mode++) {
|
for (dl_mode = downlink_mode; dl_mode < 4; dl_mode++) {
|
||||||
|
|
||||||
AcquireData(T55x7_PAGE0, T55x7_CONFIGURATION_BLOCK, true, password, dl_mode);
|
if (AcquireData(T55x7_PAGE0, T55x7_CONFIGURATION_BLOCK, true, password, dl_mode)) {
|
||||||
|
|
||||||
// if (getSignalProperties()->isnoise == false) {
|
// if (getSignalProperties()->isnoise == false) {
|
||||||
// } else {
|
// } else {
|
||||||
if (tryDetectModulation(dl_mode, T55XX_PrintConfig)) {
|
if (tryDetectModulation(dl_mode, T55XX_PrintConfig)) {
|
||||||
return 1 + (dl_mode << 1);
|
return 1 + (dl_mode << 1);
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
|
}
|
||||||
if (!try_all_dl_modes) dl_mode = 4;
|
if (!try_all_dl_modes) dl_mode = 4;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue