summaryrefslogtreecommitdiff
path: root/gr-blocks/python/grc_gnuradio/blks2/error_rate.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-10-23 08:42:21 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2016-10-23 08:42:21 -0700
commitf924ac3a5a942512acfff0a446b6badedcf388a6 (patch)
tree063040a12f949771d4ba1d76ec70f6a22bd48969 /gr-blocks/python/grc_gnuradio/blks2/error_rate.py
parent49d36df28d26abcd80b31f5e470fb57b33e77c14 (diff)
parent99b2e181449c3b4a3c35fb994315f0d120d9411a (diff)
Merge branch 'deprecate-blks2' into rm-blks2
Diffstat (limited to 'gr-blocks/python/grc_gnuradio/blks2/error_rate.py')
-rw-r--r--gr-blocks/python/grc_gnuradio/blks2/error_rate.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-blocks/python/grc_gnuradio/blks2/error_rate.py b/gr-blocks/python/grc_gnuradio/blks2/error_rate.py
index 9bf387030a..df03f551b3 100644
--- a/gr-blocks/python/grc_gnuradio/blks2/error_rate.py
+++ b/gr-blocks/python/grc_gnuradio/blks2/error_rate.py
@@ -75,6 +75,9 @@ class error_rate(gr.hier_block2):
gr.io_signature(2, 2, gr.sizeof_char),
gr.io_signature(1, 1, gr.sizeof_float),
)
+
+ print "Warning: the blks2.error_rate is deprecated."
+
assert type in ('BER', 'SER')
self._max_samples = win_size
self._bits_per_symbol = bits_per_symbol