From c338502409b4bf3c90734429f00f0689ff5dd01d Mon Sep 17 00:00:00 2001 From: "martin.holst@gmail.com" Date: Wed, 5 Jun 2013 08:53:20 +0000 Subject: [PATCH] Applied patch from http://www.proxmark.org/forum/viewtopic.php?id=1637, where a compiler optimization resulted in hangs --- client/proxmark3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/proxmark3.c b/client/proxmark3.c index ef3d33e8..5cbacc86 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -26,7 +26,7 @@ static serial_port sp; static UsbCommand txcmd; -static bool txcmd_pending = false; +volatile static bool txcmd_pending = false; void SendCommand(UsbCommand *c) { #if 0 -- 2.39.5