From 23ac04ad5613bf87af96db089266258587518ac6 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 27 Aug 2015 13:51:55 -0700 Subject: [PATCH] Make channel spectrum members protected, not private. --- firmware/baseband/baseband_processor.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/firmware/baseband/baseband_processor.hpp b/firmware/baseband/baseband_processor.hpp index 66d7936d2..fea0cd643 100644 --- a/firmware/baseband/baseband_processor.hpp +++ b/firmware/baseband/baseband_processor.hpp @@ -51,6 +51,12 @@ protected: void fill_audio_buffer(const buffer_s16_t audio); + volatile bool channel_spectrum_request_update { false }; + std::array channel_spectrum; + uint32_t channel_spectrum_sampling_rate { 0 }; + uint32_t channel_filter_pass_frequency { 0 }; + uint32_t channel_filter_stop_frequency { 0 }; + private: BlockDecimator<256> channel_spectrum_decimator { 4 }; @@ -60,12 +66,6 @@ private: AudioStatsCollector audio_stats; AudioStatisticsMessage audio_stats_message; - volatile bool channel_spectrum_request_update { false }; - std::array channel_spectrum; - uint32_t channel_spectrum_sampling_rate { 0 }; - uint32_t channel_filter_pass_frequency { 0 }; - uint32_t channel_filter_stop_frequency { 0 }; - void post_channel_stats_message(const ChannelStatistics statistics); void post_channel_spectrum_message(const buffer_c16_t data); void feed_audio_stats(const buffer_s16_t audio);