summaryrefslogtreecommitdiff
path: root/gr-blocks/python/grc_gnuradio/blks2/error_rate.py
diff options
context:
space:
mode:
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