mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 03:02:39 +00:00
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:
@@ -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__*/
|
||||
|
Reference in New Issue
Block a user