fixes entering bootload messages to be less scary

This commit is contained in:
iceman1001
2024-09-10 14:29:47 +02:00
parent 16b56f4992
commit ba8a68f37c
5 changed files with 58 additions and 26 deletions
+2 -1
View File
@@ -428,7 +428,8 @@ __attribute__((force_align_arg_pointer))
// Signal to main thread that communications seems off.
// main thread will kill and restart this thread.
if (commfailed) {
if (g_conn.last_command != CMD_HARDWARE_RESET) {
if (g_conn.last_command != CMD_HARDWARE_RESET &&
g_conn.last_command != CMD_START_FLASH) {
PrintAndLogEx(WARNING, "\nCommunicating with Proxmark3 device " _RED_("failed"));
}
__atomic_test_and_set(&comm_thread_dead, __ATOMIC_SEQ_CST);