mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-28 15:27:01 -05:00
Shrink CaptureThread stack, undid earlier increase.
Moved File into Writer abstraction, passed in now, not created on stack.
This commit is contained in:
parent
6a17be1f2c
commit
2be105853e
@ -99,7 +99,7 @@ public:
|
||||
writer { std::move(writer) }
|
||||
{
|
||||
// Need significant stack for FATFS
|
||||
thread = chThdCreateFromHeap(NULL, 2048, NORMALPRIO + 10, CaptureThread::static_fn, this);
|
||||
thread = chThdCreateFromHeap(NULL, 1024, NORMALPRIO + 10, CaptureThread::static_fn, this);
|
||||
}
|
||||
|
||||
~CaptureThread() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user