use demodbufflen variable to remove the demod plot line instead

This commit is contained in:
iceman1001 committed 2021-08-01 18:26:24 +02:00
1 parent 5034d8ef28
commit bb18f105bd
1 file changed
+3 -1
+3 -1
View File
@@ -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