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,11 +30,14 @@
|
||||
|
||||
class RSSIThread : public ThreadBase {
|
||||
public:
|
||||
Thread* start(const tprio_t priority);
|
||||
RSSIThread(const tprio_t priority);
|
||||
~RSSIThread();
|
||||
|
||||
private:
|
||||
void run() override;
|
||||
|
||||
static Thread* thread;
|
||||
|
||||
const uint32_t sampling_rate { 400000 };
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user