audioreactive: stack size tuning

This gives ~3KB extra free heap on -S2.
This commit is contained in:
Frank
2023-09-14 18:26:57 +02:00
parent da614c6f19
commit 64223dbc02

View File

@@ -2030,7 +2030,7 @@ class AudioReactive : public Usermod {
xTaskCreateUniversal(
FFTcode, // Function to implement 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
FFTTASK_PRIORITY, // Priority of the task
&FFT_Task // Task handle