summaryrefslogtreecommitdiff
path: root/Waveout.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-10-07 12:21:51 +0100
committerDave Hibberd <d@vehibberd.com>2023-10-07 12:21:51 +0100
commitfd7bb5bb74a6cb22f986201824342db8438bacee (patch)
tree7885e3eb57db5189c25bac86d2e1593a5d1209c1 /Waveout.c
parent8cdb5d85befdeae522e806fbd4329cf4cd8927ec (diff)
parent1407d7b68693f014156bac2462c2d41f9e3cb2a1 (diff)
Update upstream source from tag 'upstream/0.0.0.68'
Update to upstream version '0.0.0.68' with Debian dir 160466285ee470344a0f854032336d2c5dd192d0
Diffstat (limited to 'Waveout.c')
-rw-r--r--Waveout.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Waveout.c b/Waveout.c
index 77c8b10..0b37658 100644
--- a/Waveout.c
+++ b/Waveout.c
@@ -511,7 +511,7 @@ for (i = 0; i < 100; i++)
static int min = 0, max = 0, lastlevelGUI = 0, lastlevelreport = 0;
-static UCHAR CurrentLevel = 0; // Peak from current samples
+UCHAR CurrentLevel = 0; // Peak from current samples
void PollReceivedSamples()
{
@@ -988,9 +988,7 @@ void StdinPollReceivedSamples()
if ((Now - lastlevelGUI) > 2000) // 2 Secs
{
- // if (WaterfallActive == 0 && SpectrumActive == 0) // Don't need to send as included in Waterfall Line
- // SendtoGUI('L', &CurrentLevel, 1); // Signal Level
-
+// RefreshLevel(CurrentLevel); // Signal Level
lastlevelGUI = Now;
if ((Now - lastlevelreport) > 10000) // 10 Secs