shaving off some time with ATR. Revert back the timings for i2c bus. still a very slow bus

This commit is contained in:
iceman1001 committed 2026-08-27 02:47:45 +02:00
1 parent 62b7f49089
commit dabc7d645b
3 files changed
+21 -10

No files matched your search

+4 -1
View File
@@ -8033,7 +8033,10 @@ static int CmdHFiClassSAMExtract(const char *Cmd) {
CLIParserFree(ctx);
if (IsHIDSamPresent(verbose) == false) {
// The ARM pings the SAM itself before anything else, so this costs a card
// reset and an ATR to learn what it is about to learn again. Only pay for
// it when the detail was asked for.
if (verbose && (IsHIDSamPresent(verbose) == false)) {
return PM3_ESOFT;
}
+5 -1
View File
@@ -2313,7 +2313,10 @@ static int CmdHfSeosSAM(const char *Cmd) {
CLIParserFree(ctx);
if (IsHIDSamPresent(verbose) == false) {
// The ARM pings the SAM itself before anything else, so this costs a card
// reset and an ATR to learn what it is about to learn again. Only pay for
// it when the detail was asked for.
if (verbose && (IsHIDSamPresent(verbose) == false)) {
return PM3_ESOFT;
}
@@ -2337,6 +2340,7 @@ static int CmdHfSeosSAM(const char *Cmd) {
}
default: {
PrintAndLogEx(WARNING, "SAM select failed");
PrintAndLogEx(HINT, "Hint: is a HID SAM in the slot? try `" _YELLOW_("smart info") "`");
return resp.status;
}
}