Set usable persistent memory defaults for Recon (#820)

* Set usable defaults for Recon when PortaPack is not having a valid button battery installed

* fixed indentation

* fixed indentation

---------

Co-authored-by: GullCode <gullradriel@hotmail.com>
This commit is contained in:
gullradriel 2023-03-04 22:04:53 +01:00 committed by GitHub
parent 3c13161273
commit 3d248647c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -399,6 +399,17 @@ namespace cache {
void defaults() {
cached_backup_ram = backup_ram_t();
// defaults values for recon app
set_recon_autosave_freqs( false );
set_recon_autostart_recon( true );
set_recon_continuous( true );
set_recon_clear_output( false );
set_recon_load_freqs( true );
set_recon_load_ranges( true );
set_recon_update_ranges_when_recon( true );
set_recon_load_hamradios( true );
set_recon_match_mode( 0 );
}
void init() {