Change baseband, RSSI threads to be more RAII.

This commit is contained in:
Jared Boone 2016-06-24 15:34:49 -07:00
parent 2b7e763619
commit f8a473d56b
6 changed files with 39 additions and 17 deletions

View file

@ -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 };
};