remove unused global showDemod
This commit is contained in:
1 parent
f1f2389fb4
commit
a8bb07db3a
3 files changed
+1
-3
No files matched your search
@@ -711,7 +711,7 @@ void Plot::paintEvent(QPaintEvent *event) {
|
|||||||
|
|
||||||
//Start painting graph
|
//Start painting graph
|
||||||
PlotGraph(g_GraphBuffer, GraphTraceLen, plotRect, infoRect, &painter, 0);
|
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);
|
PlotDemod(g_DemodBuffer, g_DemodBufferLen, plotRect, infoRect, &painter, 2, g_DemodStartIdx);
|
||||||
}
|
}
|
||||||
if (g_useOverlays) {
|
if (g_useOverlays) {
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ double g_GraphPixelsPerPoint = 1.f; // How many visual pixels are between each s
|
|||||||
static bool flushAfterWrite = 0;
|
static bool flushAfterWrite = 0;
|
||||||
double g_GridOffset = 0;
|
double g_GridOffset = 0;
|
||||||
bool g_GridLocked = false;
|
bool g_GridLocked = false;
|
||||||
bool showDemod = true;
|
|
||||||
|
|
||||||
pthread_mutex_t g_print_lock = PTHREAD_MUTEX_INITIALIZER;
|
pthread_mutex_t g_print_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ typedef struct {
|
|||||||
} session_arg_t;
|
} session_arg_t;
|
||||||
|
|
||||||
extern session_arg_t session;
|
extern session_arg_t session;
|
||||||
extern bool showDemod;
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.14159265358979323846264338327
|
#define M_PI 3.14159265358979323846264338327
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user