Hide conn error when hw reset, as suggested by @iceman
This commit is contained in:
1 parent
68e5b3c355
commit
c190ac0955
3 files changed
+4
-2
No files matched your search
+3
-1
@@ -330,7 +330,9 @@ __attribute__((force_align_arg_pointer))
|
||||
// Signal to main thread that communications seems off.
|
||||
// main thread will kill and restart this thread.
|
||||
if (commfailed) {
|
||||
PrintAndLogEx(WARNING, "Communicating with Proxmark3 device " _RED_("failed"));
|
||||
if (conn.last_command != CMD_HARDWARE_RESET) {
|
||||
PrintAndLogEx(WARNING, "Communicating with Proxmark3 device " _RED_("failed"));
|
||||
}
|
||||
__atomic_test_and_set(&comm_thread_dead, __ATOMIC_SEQ_CST);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user