diff --git a/firmware/application/apps/capture_app.cpp b/firmware/application/apps/capture_app.cpp index faa3c7ce..bb613bc1 100644 --- a/firmware/application/apps/capture_app.cpp +++ b/firmware/application/apps/capture_app.cpp @@ -82,6 +82,12 @@ CaptureAppView::CaptureAppView(NavigationView& nav) auto anti_alias_filter_bandwidth = filter_bandwidth_for_sampling_rate(actual_sample_rate); receiver_model.set_baseband_bandwidth(anti_alias_filter_bandwidth); + // Automatically switch default capture format to C8 when bandwidth setting is increased to >=1.5MHz + if ((bandwidth >= 1500000) && (previous_bandwidth < 1500000)) { + option_format.set_selected_index(1); + } + previous_bandwidth = bandwidth; + waterfall.start(); }; diff --git a/firmware/application/apps/capture_app.hpp b/firmware/application/apps/capture_app.hpp index 880cd695..627d2b2f 100644 --- a/firmware/application/apps/capture_app.hpp +++ b/firmware/application/apps/capture_app.hpp @@ -46,6 +46,7 @@ class CaptureAppView : public View { private: static constexpr ui::Dim header_height = 3 * 16; + uint32_t previous_bandwidth{500000}; NavigationView& nav_; RxRadioState radio_state_{ReceiverModel::Mode::Capture};