summaryrefslogtreecommitdiff
path: root/gr-digital/lib/costas_loop_cc_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/costas_loop_cc_impl.h')
-rw-r--r--gr-digital/lib/costas_loop_cc_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-digital/lib/costas_loop_cc_impl.h b/gr-digital/lib/costas_loop_cc_impl.h
index 87655a44cf..a216aaf0ff 100644
--- a/gr-digital/lib/costas_loop_cc_impl.h
+++ b/gr-digital/lib/costas_loop_cc_impl.h
@@ -32,7 +32,7 @@ namespace digital {
class costas_loop_cc_impl : public costas_loop_cc
{
private:
- const int d_order;
+ const unsigned int d_order;
float d_error;
float d_noise;
@@ -86,11 +86,11 @@ private:
float phase_detector_snr_2(gr_complex sample) const; // for BPSK
typedef float (costas_loop_cc_impl::*d_phase_detector_t)(gr_complex sample) const;
- static d_phase_detector_t choose_phase_detector(int order, bool use_snr);
+ static d_phase_detector_t choose_phase_detector(unsigned int order, bool use_snr);
const d_phase_detector_t d_phase_detector;
public:
- costas_loop_cc_impl(float loop_bw, int order, bool use_snr = false);
+ costas_loop_cc_impl(float loop_bw, unsigned int order, bool use_snr = false);
~costas_loop_cc_impl();
float error() const;