X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/9833360b251571f82749c352f49d712c9c8322ad..e0a241f76ed8aea5f23745fb3775c6916406aea4:/common/lfdemod.c diff --git a/common/lfdemod.c b/common/lfdemod.c index e9b31fab..cdbe2c6f 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -14,21 +14,20 @@ void dummy(char *fmt, ...){} void dummy_sgc (int clock, int startidx) {} #ifndef ON_DEVICE -# include "ui.h" +# include "ui.h" // plotclock, plotclockstartindex # include "cmdparser.h" # include "cmddata.h" # define prnt PrintAndLog # define sgc SetGraphClock -#else - uint8_t g_debugMode=0; -# define prnt dummy -# define sgc dummy -#endif - -void SetGraphClock( int clock, int startidx){ +void SetGraphClock(int clock, int startidx){ PlotClock = clock; PlockClockStartIndex = startidx; } +#else + uint8_t g_debugMode = 0; +# define prnt dummy +# define sgc dummy_sgc +#endif //test samples are not just noise uint8_t justNoise(uint8_t *bits, size_t size) {