audioreactive: stack size tuning
This gives ~3KB extra free heap on -S2.
This commit is contained in:
parent
fc4ed1c50b
commit
282d58a6fe
@ -1408,7 +1408,7 @@ class AudioReactive : public Usermod {
|
|||||||
xTaskCreateUniversal( // xTaskCreateUniversal also works on -S2 and -C3 with single core
|
xTaskCreateUniversal( // xTaskCreateUniversal also works on -S2 and -C3 with single core
|
||||||
FFTcode, // Function to implement the task
|
FFTcode, // Function to implement the task
|
||||||
"FFT", // Name of the task
|
"FFT", // Name of the task
|
||||||
5000, // Stack size in words
|
3592, // Stack size in words // 3592 leaves 800-1024 bytes of task stack free
|
||||||
NULL, // Task input parameter
|
NULL, // Task input parameter
|
||||||
FFTTASK_PRIORITY, // Priority of the task
|
FFTTASK_PRIORITY, // Priority of the task
|
||||||
&FFT_Task // Task handle
|
&FFT_Task // Task handle
|
||||||
|
Loading…
Reference in New Issue
Block a user