From 7b780e68130ddbc27c95067dbe255524ae60f1b5 Mon Sep 17 00:00:00 2001 From: Nikolaus Spence <125481816+nikolausspence@users.noreply.github.com> Date: Mon, 27 Mar 2023 11:39:57 -0500 Subject: [PATCH] increase stack size of who_camera task program was crashing with "1 * 1024" stack size, it was changed to "2 * 1024" but would still crash during some conditions. Changed to "3 * 1024" and the task does not experience a stack overflow under any circumstances. --- components/modules/camera/who_camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/modules/camera/who_camera.c b/components/modules/camera/who_camera.c index 778ded1..707d11a 100644 --- a/components/modules/camera/who_camera.c +++ b/components/modules/camera/who_camera.c @@ -83,5 +83,5 @@ void register_camera(const pixformat_t pixel_fromat, } xQueueFrameO = frame_o; - xTaskCreatePinnedToCore(task_process_handler, TAG, 2 * 1024, NULL, 5, NULL, 1); + xTaskCreatePinnedToCore(task_process_handler, TAG, 3 * 1024, NULL, 5, NULL, 1); }