From 91b61dcc52ac3bd1cf9b304694116f5917579792 Mon Sep 17 00:00:00 2001 From: yehangyang Date: Mon, 14 Feb 2022 11:49:24 +0800 Subject: [PATCH] :bug: stack overflow cause camera crash --- components/esp32-camera | 2 +- components/modules/camera/who_camera.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp32-camera b/components/esp32-camera index e02038c..61400bc 160000 --- a/components/esp32-camera +++ b/components/esp32-camera @@ -1 +1 @@ -Subproject commit e02038c3f0c6d30c6cd2f038fe2d6255e5666ec2 +Subproject commit 61400bc73b18e9ffcfd5b3806fee26d135c45fe7 diff --git a/components/modules/camera/who_camera.c b/components/modules/camera/who_camera.c index 3185c2b..778ded1 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, 1 * 1024, NULL, 5, NULL, 1); + xTaskCreatePinnedToCore(task_process_handler, TAG, 2 * 1024, NULL, 5, NULL, 1); }