From: martin.holst@gmail.com Date: Wed, 5 Jun 2013 08:53:20 +0000 (+0000) Subject: Applied patch from http://www.proxmark.org/forum/viewtopic.php?id=1637, where a compi... X-Git-Tag: v1.0.0~90 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c338502409b4bf3c90734429f00f0689ff5dd01d?ds=sidebyside Applied patch from http://www.proxmark.org/forum/viewtopic.php?id=1637, where a compiler optimization resulted in hangs --- 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