mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-09-18 20:14:42 -04:00
Close Call should be more accurate
Merged close call and wideband spectrum baseband processors
This commit is contained in:
parent
064e097bc3
commit
8662ed4024
19 changed files with 143 additions and 254 deletions
|
@ -41,16 +41,18 @@ public:
|
|||
void on_message(const Message* const message) override;
|
||||
|
||||
private:
|
||||
static constexpr size_t baseband_fs = 20000000;
|
||||
bool configured = false;
|
||||
|
||||
size_t baseband_fs = 20000000;
|
||||
|
||||
BasebandThread baseband_thread { baseband_fs, this, NORMALPRIO + 20, baseband::Direction::Receive };
|
||||
BasebandThread baseband_thread { baseband_fs, this, NORMALPRIO + 20 };
|
||||
RSSIThread rssi_thread { NORMALPRIO + 10 };
|
||||
|
||||
SpectrumCollector channel_spectrum { };
|
||||
|
||||
std::array<complex16_t, 256> spectrum { };
|
||||
|
||||
size_t phase = 0;
|
||||
size_t phase = 0, trigger = 127;
|
||||
};
|
||||
|
||||
#endif/*__PROC_WIDEBAND_SPECTRUM_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue