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_main { nullptr };
Thread* thread_rssi { nullptr }; Thread* thread_rssi { nullptr };
BasebandProcessor* baseband_processor { nullptr }; BasebandProcessor* baseband_processor { nullptr };
BasebandConfiguration baseband_configuration;
private: private:
WORKING_AREA(wa, 2048); WORKING_AREA(wa, 2048);
BasebandConfiguration baseband_configuration;
void run() override; void run() override;
BasebandProcessor* create_processor(const int32_t mode); BasebandProcessor* create_processor(const int32_t mode);

View File

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