diff --git a/firmware/baseband/baseband_processor.hpp b/firmware/baseband/baseband_processor.hpp index 66d7936d..fea0cd64 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);