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

@@ -26,21 +26,21 @@
#include "baseband_thread.hpp"
class SpectrumPainterProcessor : public BasebandProcessor {
public:
void execute(const buffer_c8_t& buffer) override;
void on_message(const Message* const p) override;
void run();
public:
void execute(const buffer_c8_t& buffer) override;
void on_message(const Message* const p) override;
void run();
private:
bool configured { false };
BasebandThread baseband_thread { 3072000, this, NORMALPRIO + 20, baseband::Direction::Transmit };
Thread* thread {nullptr};
private:
bool configured{false};
BasebandThread baseband_thread{3072000, this, NORMALPRIO + 20, baseband::Direction::Transmit};
Thread* thread{nullptr};
protected:
static msg_t fn(void* arg) {
auto obj = static_cast<SpectrumPainterProcessor*>(arg);
obj->run();
protected:
static msg_t fn(void* arg) {
auto obj = static_cast<SpectrumPainterProcessor*>(arg);
obj->run();
return 0;
}
return 0;
}
};