use demodbufflen variable to remove the demod plot line instead

This commit is contained in:
iceman1001 2021-08-01 18:26:24 +02:00
commit bb18f105bd

View file

@ -44,9 +44,11 @@ size_t ClearGraph(bool redraw) {
memset(GraphBuffer, 0x00, GraphTraceLen); memset(GraphBuffer, 0x00, GraphTraceLen);
GraphTraceLen = 0; GraphTraceLen = 0;
GraphStop = 0; GraphStop = 0;
showDemod = false; // showDemod = false;
DemodBufferLen = 0;
if (redraw) if (redraw)
RepaintGraphWindow(); RepaintGraphWindow();
return gtl; return gtl;
} }
// option '1' to save GraphBuffer any other to restore // option '1' to save GraphBuffer any other to restore