fix: mfDarkside hangs

This commit is contained in:
douniwan5788 committed 2024-09-04 23:28:13 +08:00
1 parent 5e9533a792
commit 740ab6bb33
2 files changed
+4 -4

No files matched your search

+2
View File
@@ -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);