mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 10:57:48 +00:00
Starting freq fixes when no App Settings, and support for App Settings in Scanner App (Mode/BW/Step only) (#1153)
* Fix initial freq when no App Settings tpms * Default POCSAG freq when no App Settings * Enable Scanner App Settings for Modulation/BW/Step * Default SONDE freq when no App Settings
This commit is contained in:
@@ -65,6 +65,9 @@ SondeView::SondeView(NavigationView& nav) {
|
||||
&button_see_qr,
|
||||
&button_see_map});
|
||||
|
||||
if (!settings_.loaded())
|
||||
receiver_model.set_target_frequency(initial_target_frequency);
|
||||
|
||||
field_frequency.set_value(receiver_model.target_frequency());
|
||||
field_frequency.set_step(500); // euquiq: was 10000, but we are using this for fine-tunning
|
||||
field_frequency.on_change = [this](rf::Frequency f) {
|
||||
|
Reference in New Issue
Block a user