diff options
author | Thomas Habets <thomas@habets.se> | 2020-01-02 23:04:48 +0000 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2020-01-06 15:38:02 -0800 |
commit | 65b7403ca2be3e41166b517dfdfeae69eb502639 (patch) | |
tree | 6b16b96bdc8e8aba8376080a9fc1b906f868b603 /gr-digital/lib/costas_loop_cc_impl.h | |
parent | 88879ff7a19c729df136fc9a5995616cb3ac828a (diff) |
Change some ints to unsigned int
Diffstat (limited to 'gr-digital/lib/costas_loop_cc_impl.h')
-rw-r--r-- | gr-digital/lib/costas_loop_cc_impl.h | 6 |
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; |