mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 09:07:44 +00:00
Move Thread WORKING_AREAs out of classes.
Limited where and how you could instantiate the classes.
This commit is contained in:
@@ -74,9 +74,6 @@ void __late_init(void) {
|
||||
|
||||
}
|
||||
|
||||
static BasebandThread baseband_thread;
|
||||
static RSSIThread rssi_thread;
|
||||
|
||||
static void init() {
|
||||
i2s::i2s0::configure(
|
||||
audio::i2s0_config_tx,
|
||||
@@ -163,6 +160,8 @@ public:
|
||||
|
||||
private:
|
||||
MessageHandlerMap message_map;
|
||||
BasebandThread baseband_thread;
|
||||
RSSIThread rssi_thread;
|
||||
|
||||
bool is_running = true;
|
||||
|
||||
|
Reference in New Issue
Block a user