From: ikarus Date: Fri, 26 May 2017 09:26:27 +0000 (+0200) Subject: Fix increment on bool variable (#294) X-Git-Tag: v3.0.0~5 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c87c452120aa30e0db9ca8046f00def677365ae6 Fix increment on bool variable (#294) --- diff --git a/armsrc/hfsnoop.c b/armsrc/hfsnoop.c index 56774bd0..c750ab26 100644 --- a/armsrc/hfsnoop.c +++ b/armsrc/hfsnoop.c @@ -29,7 +29,7 @@ static void RAMFUNC optimizedSnoop(void) void HfSnoop(int samplesToSkip, int triggersToSkip) { Dbprintf("Skipping first %d sample pairs, Skipping %d triggers.", samplesToSkip, triggersToSkip); - bool trigger_cnt; + int trigger_cnt; LED_D_ON(); // Select correct configs FpgaDownloadAndGo(FPGA_BITSTREAM_HF);