Shrink CaptureThread stack, undid earlier increase.

Moved File into Writer abstraction, passed in now, not created on stack.
This commit is contained in:
Jared Boone 2016-04-30 16:55:52 -07:00
parent 6a17be1f2c
commit 2be105853e

View File

@ -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() {