mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 14:57:29 +00:00
Close Call should be more accurate
Merged close call and wideband spectrum baseband processors
This commit is contained in:
@@ -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__*/
|
||||
|
Reference in New Issue
Block a user