mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-11-16 00:45:20 +00:00
Stash radio settings per app (#1151)
* add a little Stash utility. * add radio state RAII helper. * first part of radio_state changes * add radio_state_ to rest of apps * fix freq_step and format * fix unused ui_sigfrx: corrected sample rate, added back freq setting
This commit is contained in:
@@ -120,11 +120,9 @@ SIGFRXView::SIGFRXView(
|
||||
.decimation_factor = 4,
|
||||
});
|
||||
// TODO: use settings.
|
||||
receiver_model.set_baseband_bandwidth(1750000);
|
||||
receiver_model.set_target_frequency(868110000);
|
||||
|
||||
receiver_model.set_lna(0);
|
||||
receiver_model.set_vga(0);
|
||||
receiver_model.set_target_frequency(868110000);
|
||||
|
||||
add_children({&text_type,
|
||||
&text_channel,
|
||||
|
||||
Reference in New Issue
Block a user