mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 08:57:46 +00:00
Move Thread WORKING_AREAs out of classes.
Limited where and how you could instantiate the classes.
This commit is contained in:
@@ -42,8 +42,10 @@
|
||||
|
||||
#include <array>
|
||||
|
||||
WORKING_AREA(baseband_thread_wa, 2048);
|
||||
|
||||
Thread* BasebandThread::start(const tprio_t priority) {
|
||||
return chThdCreateStatic(wa, sizeof(wa),
|
||||
return chThdCreateStatic(baseband_thread_wa, sizeof(baseband_thread_wa),
|
||||
priority, ThreadBase::fn,
|
||||
this
|
||||
);
|
||||
|
Reference in New Issue
Block a user