From 5310977bc61d9c8535512d12fbbeb673b2a2e8be Mon Sep 17 00:00:00 2001 From: Christoph Mayer Date: Wed, 19 Feb 2020 11:51:27 +0100 Subject: [PATCH] use named constant --- python/physical_layer_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/physical_layer_driver.py b/python/physical_layer_driver.py index f59912e..02be65a 100644 --- a/python/physical_layer_driver.py +++ b/python/physical_layer_driver.py @@ -63,7 +63,7 @@ class physical_layer_driver(gr.hier_block2): sps = sps, mark_delay = preamble_offset, threshold = 1-math.exp(-8), - threshold_method = 0) + threshold_method = digital.THRESHOLD_DYNAMIC) self._doppler_correction = digitalhf.doppler_correction_cc(preamble_length, len(preamble_samples)) self._adaptive_filter = digitalhf.adaptive_dfe(sps, nB, nF, nW, mu, alpha) self._msg_proxy = digitalhf.msg_proxy(self._physical_layer_driver_description)