mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-05 21:59:28 -04:00
Improved tone generator for proper frequency control. Also
features a square wave mode. Added proportional beep duration based on the RSSI as well. Now reading the current radiosonde frequency from the battery backed RAM instead starting with the same frequency all the time.
This commit is contained in:
parent
a80d91fb1e
commit
8aff0bb4d8
5 changed files with 25 additions and 22 deletions
|
@ -211,7 +211,7 @@ void SondeView::set_target_frequency(const uint32_t new_value) {
|
|||
target_frequency_ = new_value;
|
||||
//radio::set_tuning_frequency(tuning_frequency());
|
||||
// we better remember the tuned frequency, by using this function instead:
|
||||
receiver_model.set_tuning_frequency(tuning_frequency());
|
||||
receiver_model.set_tuning_frequency(target_frequency_);
|
||||
}
|
||||
|
||||
uint32_t SondeView::tuning_frequency() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue