diff --git a/firmware/application/apps/analog_tv_app.cpp b/firmware/application/apps/analog_tv_app.cpp index 8f498078..b3710573 100644 --- a/firmware/application/apps/analog_tv_app.cpp +++ b/firmware/application/apps/analog_tv_app.cpp @@ -199,7 +199,7 @@ void AnalogTvView::on_show_options_rf_gain() { void AnalogTvView::on_show_options_modulation() { std::unique_ptr widget; - const auto modulation = static_cast(receiver_model.modulation()); + static_cast(receiver_model.modulation()); tv.show_audio_spectrum_view(true); set_options_widget(std::move(widget)); @@ -216,6 +216,7 @@ void AnalogTvView::on_reference_ppm_correction_changed(int32_t v) { } void AnalogTvView::on_headphone_volume_changed(int32_t v) { + (void)v; //avoid warning //tv::TVView::set_headphone_volume(this,v); } diff --git a/firmware/application/apps/analog_tv_app.hpp b/firmware/application/apps/analog_tv_app.hpp index 552f7f6b..6f90a55c 100644 --- a/firmware/application/apps/analog_tv_app.hpp +++ b/firmware/application/apps/analog_tv_app.hpp @@ -107,7 +107,7 @@ private: std::unique_ptr options_widget { }; - tv::TVWidget tv { true }; + tv::TVWidget tv { }; void on_tuning_frequency_changed(rf::Frequency f); void on_baseband_bandwidth_changed(uint32_t bandwidth_hz);