aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui/python
diff options
context:
space:
mode:
authorsara <sara.halter@gmx.ch>2021-12-15 14:46:05 +0100
committersara <sara.halter@gmx.ch>2021-12-15 14:46:05 +0100
commit6b061696338de9f665fdbffe5ca31e5eefebc51a (patch)
tree1dbcdddda9fcb58876fafc06eb3bbf33c0c74311 /src/gr-fadingui/python
parentMore Doku (diff)
downloadFading-6b061696338de9f665fdbffe5ca31e5eefebc51a.tar.gz
Fading-6b061696338de9f665fdbffe5ca31e5eefebc51a.zip
BER Block change
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()