mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 17:55:00 -04:00
Scanner: Added last locked frequencies list
Added back squelch to NFM receiver Scanner: cleanup Widgets: VU-meter cleanup
This commit is contained in:
parent
bebec9ccf7
commit
38e14b1e30
18 changed files with 788 additions and 631 deletions
|
@ -77,8 +77,10 @@ NBFMOptionsView::NBFMOptionsView(
|
|||
/* AnalogAudioView *******************************************************/
|
||||
|
||||
AnalogAudioView::AnalogAudioView(
|
||||
NavigationView& nav
|
||||
) {
|
||||
NavigationView& nav,
|
||||
bool eos
|
||||
) : nav_ (nav)
|
||||
{
|
||||
add_children({
|
||||
&rssi,
|
||||
&channel,
|
||||
|
@ -91,6 +93,8 @@ AnalogAudioView::AnalogAudioView(
|
|||
&record_view,
|
||||
&waterfall,
|
||||
});
|
||||
|
||||
exit_on_squelch = eos;
|
||||
|
||||
field_frequency.set_value(receiver_model.tuning_frequency());
|
||||
field_frequency.set_step(receiver_model.frequency_step());
|
||||
|
@ -311,4 +315,8 @@ void AnalogAudioView::update_modulation(const ReceiverModel::Mode modulation) {
|
|||
}
|
||||
}
|
||||
|
||||
void AnalogAudioView::squelched() {
|
||||
if (exit_on_squelch) nav_.pop();
|
||||
}
|
||||
|
||||
} /* namespace ui */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue