mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-02-28 22:47:21 +00: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