mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-02 21:09:03 +00: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:
@@ -110,6 +110,8 @@ class ReceiverModel {
|
||||
uint8_t normalized_headphone_volume() const;
|
||||
void set_normalized_headphone_volume(uint8_t v);
|
||||
|
||||
void set_hidden_offset(rf::Frequency offset) { hidden_offset = offset; }
|
||||
|
||||
void enable();
|
||||
void disable();
|
||||
|
||||
@@ -133,6 +135,7 @@ class ReceiverModel {
|
||||
private:
|
||||
settings_t settings_{};
|
||||
bool enabled_ = false;
|
||||
rf::Frequency hidden_offset = 0; // when we need to hide the offset from user, we set this. like when WeFax needs -300Hz.
|
||||
|
||||
int32_t tuning_offset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user