Make some Baseband/RSSIThread members private/const.

This commit is contained in:
Jared Boone 2015-12-10 16:13:52 -08:00
parent ded33ebabd
commit 255c568f9e
2 changed files with 4 additions and 3 deletions

View File

@ -48,11 +48,12 @@ public:
Thread* thread_main { nullptr };
Thread* thread_rssi { nullptr };
BasebandProcessor* baseband_processor { nullptr };
BasebandConfiguration baseband_configuration;
private:
WORKING_AREA(wa, 2048);
BasebandConfiguration baseband_configuration;
void run() override;
BasebandProcessor* create_processor(const int32_t mode);

View File

@ -37,12 +37,12 @@ public:
Thread* start(const tprio_t priority);
uint32_t sampling_rate { 400000 };
private:
WORKING_AREA(wa, 128);
void run() override;
const uint32_t sampling_rate { 400000 };
};
#endif/*__RSSI_THREAD_H__*/