summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-digital/examples/packet/example_corr_est.grc2
-rw-r--r--gr-digital/examples/packet/example_corr_est_and_clock_sync.grc2
-rw-r--r--gr-digital/examples/packet/example_corr_est_and_phase_sync.grc2
-rw-r--r--gr-digital/examples/packet/packet_rx.grc2
-rw-r--r--gr-digital/grc/digital_corr_est_cc.block.yml2
-rw-r--r--gr-digital/include/gnuradio/digital/corr_est_cc.h10
6 files changed, 10 insertions, 10 deletions
diff --git a/gr-digital/examples/packet/example_corr_est.grc b/gr-digital/examples/packet/example_corr_est.grc
index d889f8a291..bc9e5c85ed 100644
--- a/gr-digital/examples/packet/example_corr_est.grc
+++ b/gr-digital/examples/packet/example_corr_est.grc
@@ -347,7 +347,7 @@ blocks:
sps: sps
symbols: modulated_sync_word
threshold: '0.999'
- threshold_method: digital.corr_est_cc.THRESHOLD_ABSOLUTE
+ threshold_method: digital.THRESHOLD_ABSOLUTE
states:
coordinate: [264, 211]
rotation: 0
diff --git a/gr-digital/examples/packet/example_corr_est_and_clock_sync.grc b/gr-digital/examples/packet/example_corr_est_and_clock_sync.grc
index 092ce58622..916a3fe874 100644
--- a/gr-digital/examples/packet/example_corr_est_and_clock_sync.grc
+++ b/gr-digital/examples/packet/example_corr_est_and_clock_sync.grc
@@ -365,7 +365,7 @@ blocks:
sps: sps
symbols: modulated_sync_word
threshold: '0.999'
- threshold_method: digital.corr_est_cc.THRESHOLD_ABSOLUTE
+ threshold_method: digital.THRESHOLD_ABSOLUTE
states:
coordinate: [264, 211]
rotation: 0
diff --git a/gr-digital/examples/packet/example_corr_est_and_phase_sync.grc b/gr-digital/examples/packet/example_corr_est_and_phase_sync.grc
index d1467f30d5..0874d6d42b 100644
--- a/gr-digital/examples/packet/example_corr_est_and_phase_sync.grc
+++ b/gr-digital/examples/packet/example_corr_est_and_phase_sync.grc
@@ -365,7 +365,7 @@ blocks:
sps: sps
symbols: modulated_sync_word
threshold: '0.999'
- threshold_method: digital.corr_est_cc.THRESHOLD_ABSOLUTE
+ threshold_method: digital.THRESHOLD_ABSOLUTE
states:
coordinate: [264, 211]
rotation: 0
diff --git a/gr-digital/examples/packet/packet_rx.grc b/gr-digital/examples/packet/packet_rx.grc
index 0cee621422..9e57e26f13 100644
--- a/gr-digital/examples/packet/packet_rx.grc
+++ b/gr-digital/examples/packet/packet_rx.grc
@@ -199,7 +199,7 @@ blocks:
sps: sps
symbols: modulated_sync_word
threshold: '0.999'
- threshold_method: digital.corr_est_cc.THRESHOLD_ABSOLUTE
+ threshold_method: digital.THRESHOLD_ABSOLUTE
states:
coordinate: [144, 308.0]
rotation: 0
diff --git a/gr-digital/grc/digital_corr_est_cc.block.yml b/gr-digital/grc/digital_corr_est_cc.block.yml
index 5d7730f3c1..c32952b53f 100644
--- a/gr-digital/grc/digital_corr_est_cc.block.yml
+++ b/gr-digital/grc/digital_corr_est_cc.block.yml
@@ -19,7 +19,7 @@ parameters:
- id: threshold_method
label: Threshold Method
dtype: enum
- options: [digital.corr_est_cc.THRESHOLD_ABSOLUTE, digital.corr_est_cc.THRESHOLD_DYNAMIC]
+ options: [digital.THRESHOLD_ABSOLUTE, digital.THRESHOLD_DYNAMIC]
option_labels: [Absolute, Dynamic]
inputs:
diff --git a/gr-digital/include/gnuradio/digital/corr_est_cc.h b/gr-digital/include/gnuradio/digital/corr_est_cc.h
index f61b62636e..a861b0dc05 100644
--- a/gr-digital/include/gnuradio/digital/corr_est_cc.h
+++ b/gr-digital/include/gnuradio/digital/corr_est_cc.h
@@ -82,16 +82,16 @@ namespace gr {
* _on_Signal_Processing_, Volume 47, No. 9, September 1999
*
*/
+ typedef enum {
+ THRESHOLD_DYNAMIC,
+ THRESHOLD_ABSOLUTE,
+ } tm_type;
+
class DIGITAL_API corr_est_cc : virtual public sync_block
{
public:
typedef boost::shared_ptr<corr_est_cc> sptr;
- enum tm_type {
- THRESHOLD_DYNAMIC,
- THRESHOLD_ABSOLUTE,
- };
-
/*!
* Make a block that correlates against the \p symbols vector
* and outputs a phase and symbol timing estimate.