Close Call should be more accurate

Merged close call and wideband spectrum baseband processors
This commit is contained in:
furrtek
2017-02-01 08:53:26 +00:00
parent 064e097bc3
commit 8662ed4024
19 changed files with 143 additions and 254 deletions

View File

@@ -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__*/