Use freq from AppSettings unless passed from another app (#2073)

This commit is contained in:
Mark Thompson 2024-03-30 12:57:43 -05:00 committed by GitHub
parent d29172f41e
commit 56303eb385
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 21 additions and 16 deletions

View file

@ -68,6 +68,7 @@ rf::Frequency ReceiverModel::target_frequency() const {
void ReceiverModel::set_target_frequency(rf::Frequency f) {
persistent_memory::set_target_frequency(f);
settings_.frequency_app_override = f;
update_tuning_frequency();
}