mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 18:19:08 -04:00
Move Thread WORKING_AREAs out of classes.
Limited where and how you could instantiate the classes.
This commit is contained in:
parent
a3bab9126d
commit
211d1d19ea
5 changed files with 8 additions and 9 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue