Skip to content

Commit 9e8d7cd

Browse files
authored
Merge pull request espressif#480 from WangYuxin-esp/fix/fix_wrong_cam_task_stack_size_define
fix: fix bad macro definition on cam stack size
2 parents c3eacc8 + ae117e9 commit 9e8d7cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/cam_hal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#endif // ESP_IDF_VERSION_MAJOR
3333
#define ESP_CAMERA_ETS_PRINTF ets_printf
3434

35-
#if CONFIG_CAM_TASK_STACK_SIZE
36-
#define CAM_TASK_STACK CONFIG_CAM_TASK_STACK_SIZE
35+
#if CONFIG_CAMERA_TASK_STACK_SIZE
36+
#define CAM_TASK_STACK CONFIG_CAMERA_TASK_STACK_SIZE
3737
#else
3838
#define CAM_TASK_STACK (2*1024)
3939
#endif

0 commit comments

Comments
 (0)