mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 01:59:13 -04:00
Change baseband, RSSI threads to be more RAII.
This commit is contained in:
parent
2b7e763619
commit
f8a473d56b
6 changed files with 39 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue