mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 06:59:50 +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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user