fix: mfDarkside hangs
This commit is contained in:
1 parent
5e9533a792
commit
740ab6bb33
2 files changed
+4
-4
No files matched your search
@@ -83,6 +83,8 @@ int mfDarkside(uint8_t blockno, uint8_t key_type, uint64_t *key) {
|
||||
while (true) {
|
||||
PrintAndLogEx(NORMAL, "." NOLF);
|
||||
|
||||
if (IsCommunicationThreadDead()) return PM3_EIO;
|
||||
|
||||
//TODO: Not really stopping the command in time.
|
||||
if (kbd_enter_pressed()) {
|
||||
SendCommandNG(CMD_BREAK_LOOP, NULL, 0);
|
||||
|
||||
Reference in new issue
Block a user