mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 07:17:51 +00:00
Change baseband, RSSI threads to be more RAII.
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
|
||||
class BasebandThread : public ThreadBase {
|
||||
public:
|
||||
Thread* start(const tprio_t priority);
|
||||
BasebandThread(const tprio_t priority);
|
||||
~BasebandThread();
|
||||
|
||||
void on_message(const Message* const message);
|
||||
|
||||
@@ -41,6 +42,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
static Thread* thread;
|
||||
|
||||
BasebandProcessor* baseband_processor { nullptr };
|
||||
|
||||
BasebandConfiguration baseband_configuration;
|
||||
|
Reference in New Issue
Block a user