mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 12:24:43 +00:00
remove unused global showDemod
This commit is contained in:
@@ -711,7 +711,7 @@ void Plot::paintEvent(QPaintEvent *event) {
|
||||
|
||||
//Start painting graph
|
||||
PlotGraph(g_GraphBuffer, GraphTraceLen, plotRect, infoRect, &painter, 0);
|
||||
if (showDemod && g_DemodBufferLen > 8) {
|
||||
if (g_DemodBufferLen > 8) {
|
||||
PlotDemod(g_DemodBuffer, g_DemodBufferLen, plotRect, infoRect, &painter, 2, g_DemodStartIdx);
|
||||
}
|
||||
if (g_useOverlays) {
|
||||
|
||||
@@ -50,7 +50,6 @@ double g_GraphPixelsPerPoint = 1.f; // How many visual pixels are between each s
|
||||
static bool flushAfterWrite = 0;
|
||||
double g_GridOffset = 0;
|
||||
bool g_GridLocked = false;
|
||||
bool showDemod = true;
|
||||
|
||||
pthread_mutex_t g_print_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
|
||||
@@ -54,7 +54,6 @@ typedef struct {
|
||||
} session_arg_t;
|
||||
|
||||
extern session_arg_t session;
|
||||
extern bool showDemod;
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846264338327
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user