Added wefax offset to audio app too. (#2572)

* added wefax offset to audio app too.

* moved from head to cpp
This commit is contained in:
Totoo 2025-03-19 23:03:04 +01:00 committed by GitHub
parent ff2f27e297
commit d73db884f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -282,6 +282,11 @@ void ReceiverModel::update_tuning_frequency() {
radio::set_tuning_frequency(target_frequency() + hidden_offset + tuning_offset());
}
void ReceiverModel::set_hidden_offset(rf::Frequency offset) {
hidden_offset = offset;
update_tuning_frequency();
}
void ReceiverModel::update_baseband_bandwidth() {
radio::set_baseband_filter_bandwidth_rx(baseband_bandwidth());
}