mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Make some Baseband/RSSIThread members private/const.
This commit is contained in:
parent
ded33ebabd
commit
255c568f9e
@ -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);
|
||||||
|
@ -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__*/
|
||||||
|
Loading…
Reference in New Issue
Block a user