Bugfixes on hf iclass trbl
Fixed tearoff trigger staying enabled in case of keyboard interruption
This commit is contained in:
1 parent
fbbfeaa977
commit
07bfef1550
1 file changed
+8
@@ -3191,6 +3191,14 @@ out:
|
|||||||
if (setDeviceDebugLevel(verbose ? MAX(dbg_curr, DBG_INFO) : DBG_NONE, false) != PM3_SUCCESS) {
|
if (setDeviceDebugLevel(verbose ? MAX(dbg_curr, DBG_INFO) : DBG_NONE, false) != PM3_SUCCESS) {
|
||||||
return PM3_EFAILED;
|
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(¶ms, false);
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
return isok;
|
return isok;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user