From bb18f105bd9a9392fcaf692786f3a62d35b5c25c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 1 Aug 2021 18:26:24 +0200 Subject: [PATCH] use demodbufflen variable to remove the demod plot line instead --- client/src/graph.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/graph.c b/client/src/graph.c index e681761e4..a6d28dff2 100644 --- a/client/src/graph.c +++ b/client/src/graph.c @@ -44,9 +44,11 @@ size_t ClearGraph(bool redraw) { memset(GraphBuffer, 0x00, GraphTraceLen); GraphTraceLen = 0; GraphStop = 0; - showDemod = false; +// showDemod = false; + DemodBufferLen = 0; if (redraw) RepaintGraphWindow(); + return gtl; } // option '1' to save GraphBuffer any other to restore