aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui/python
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-12-15 16:10:06 +0100
committerNao Pross <np@0hm.ch>2021-12-15 16:10:06 +0100
commit0f7c89a8c2e4629bc59a685cd3c16ebbf8dae7dc (patch)
tree5d7f92fafe97cb39821bae777e65e52ffa724b28 /src/gr-fadingui/python
parentSmall fix (diff)
parentBER Block change (diff)
downloadFading-0f7c89a8c2e4629bc59a685cd3c16ebbf8dae7dc.tar.gz
Fading-0f7c89a8c2e4629bc59a685cd3c16ebbf8dae7dc.zip
Merge branch 'master' of github.com:NaoPross/Fading
Diffstat (limited to '')
-rw-r--r--src/gr-fadingui/python/ber.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gr-fadingui/python/ber.py b/src/gr-fadingui/python/ber.py
index 664780f..77896d5 100644
--- a/src/gr-fadingui/python/ber.py
+++ b/src/gr-fadingui/python/ber.py
@@ -94,7 +94,8 @@ class ber(gr.sync_block):
trueber = 0
# log.debug(f"BER {trueber} in Paket {i}")
- self.ber_samples.appendleft(trueber)
+ if truper =! 0:
+ self.ber_samples.appendleft(trueber)
ber_max, ber_min, ber_avg = self.ber_stats()