Formatted code (#1007)

* Updated style

* Updated files

* fixed new line

* Updated spacing

* File fix WIP

* Updated to clang 13

* updated comment style

* Removed old comment code
This commit is contained in:
jLynx
2023-05-19 08:16:05 +12:00
committed by GitHub
parent 7aca7ce74d
commit 033c4e9a5b
599 changed files with 70746 additions and 66896 deletions

View File

@@ -35,24 +35,24 @@
#include <complex>
class WidebandSpectrum : public BasebandProcessor {
public:
void execute(const buffer_c8_t& buffer) override;
public:
void execute(const buffer_c8_t& buffer) override;
void on_message(const Message* const message) override;
void on_message(const Message* const message) override;
private:
bool configured = false;
size_t baseband_fs = 20000000;
private:
bool configured = false;
BasebandThread baseband_thread { baseband_fs, this, NORMALPRIO + 20 };
RSSIThread rssi_thread { NORMALPRIO + 10 };
size_t baseband_fs = 20000000;
SpectrumCollector channel_spectrum { };
BasebandThread baseband_thread{baseband_fs, this, NORMALPRIO + 20};
RSSIThread rssi_thread{NORMALPRIO + 10};
std::array<complex16_t, 256> spectrum { };
SpectrumCollector channel_spectrum{};
size_t phase = 0, trigger = 127;
std::array<complex16_t, 256> spectrum{};
size_t phase = 0, trigger = 127;
};
#endif/*__PROC_WIDEBAND_SPECTRUM_H__*/
#endif /*__PROC_WIDEBAND_SPECTRUM_H__*/