From 10b28429e49a749aa36330a0a91d73eca1c958a7 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 12 Apr 2016 10:49:07 -0700 Subject: [PATCH] Add show-options event for VGAGainField. --- firmware/application/analog_audio_app.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/application/analog_audio_app.cpp b/firmware/application/analog_audio_app.cpp index 1a3da0c1..7d5cae40 100644 --- a/firmware/application/analog_audio_app.cpp +++ b/firmware/application/analog_audio_app.cpp @@ -117,6 +117,9 @@ AnalogAudioView::AnalogAudioView( field_vga.on_change = [this](int32_t v_db) { this->on_vga_changed(v_db); }; + field_vga.on_show_options = [this]() { + this->on_show_options_rf_gain(); + }; const auto modulation = receiver_model.modulation(); options_modulation.set_by_value(modulation);