Merge pull request #2856 from Antiklesys/master

hf iclass trbl bugfixes
This commit is contained in:
Iceman 2025-05-23 11:59:45 +02:00 committed by GitHub
commit d078680bb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3192,6 +3192,14 @@ out:
if (setDeviceDebugLevel(verbose ? MAX(dbg_curr, DBG_INFO) : DBG_NONE, false) != PM3_SUCCESS) {
return PM3_EFAILED;
}
// disable tearoff in case of keyboard abort, or it'll trigger on next operation
clearCommandBuffer();
tearoff_params_t params = {
.delay_us = tearoff_start,
.on = false,
.off = true
};
handle_tearoff(&params, false);
PrintAndLogEx(NORMAL, "");
return isok;
}