diff options
author | Thomas Habets <thomas@habets.se> | 2020-08-29 22:19:55 +0100 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-09-09 12:45:08 -0400 |
commit | 80e3cc05aa3943d48f77aff49f39eeeb186b1015 (patch) | |
tree | 9bd06394403abb2c877eaf5ae6d021375df2d929 /gr-blocks/lib/correctiq_auto_impl.h | |
parent | 3e40f271c4fadbcc2a3d5f67895e64f18117dfd5 (diff) |
blocks/correctiq: Clean up member initialization
Diffstat (limited to 'gr-blocks/lib/correctiq_auto_impl.h')
-rw-r--r-- | gr-blocks/lib/correctiq_auto_impl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/lib/correctiq_auto_impl.h b/gr-blocks/lib/correctiq_auto_impl.h index a6cc87f154..4a9f7105e1 100644 --- a/gr-blocks/lib/correctiq_auto_impl.h +++ b/gr-blocks/lib/correctiq_auto_impl.h @@ -20,18 +20,18 @@ namespace blocks { class correctiq_auto_impl : public correctiq_auto { private: - float d_avg_real; - float d_avg_img; - float d_ratio; - gr_complex d_k; + float d_avg_real{ 0.0 }; + float d_avg_img{ 0.0 }; + float d_ratio{ 1e-05f }; + gr_complex d_k{ 0, 0 }; const double d_samp_rate; double d_freq; float d_gain; const float d_sync_window; - long d_sync_counter; - bool d_synchronized; + long d_sync_counter{ 0 }; + bool d_synchronized{ false }; const long d_max_sync_samples; |