mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-24 13:53:11 -05:00
WeFax rx ext app (#2566)
* wf3
* Ookbrute (#2354)
* Revert "Ookbrute (#2354)"
This reverts commit abb8143eec.
* fix
* test edition
* re enable ble
* re enable ert
* steal amfm stuff
* something happens
* save bmp on start btn
* kinda works
* exit crash fixed
* redline, remove some hardcoded
* removed cpu killer red line, and some fixes
* simplify #1
* seems ok. time to improve
* added hidden freq offset to receiver model, so wefax can be set to the "correct" freq without users needs to substract 300 hz
* badly implemented sync detection, and disabled it.
* fix for fix
* fixes
* fix offset to real life off
* no line on freq enter
* fixes
This commit is contained in:
parent
717d615f4f
commit
4aa5fc1fbe
16 changed files with 752 additions and 2 deletions
|
|
@ -53,13 +53,21 @@ class BoundFrequencyField : public FrequencyField {
|
|||
};
|
||||
|
||||
on_edit = [this, &nav]() {
|
||||
if (on_edit_shown)
|
||||
on_edit_shown();
|
||||
auto freq_view = nav.push<FrequencyKeypadView>(model->target_frequency());
|
||||
freq_view->on_changed = [this](rf::Frequency f) {
|
||||
set_value(f);
|
||||
};
|
||||
nav.set_on_pop([this]() {
|
||||
if (on_edit_hidden)
|
||||
on_edit_hidden();
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
std::function<void(void)> on_edit_shown{}; // fired, when the FrequencyKeypadView pops up
|
||||
std::function<void(void)> on_edit_hidden{}; // fired, when the FrequencyKeypadView ended
|
||||
// TODO: override set_step and update the rx model then call base.
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue