diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3e1e38d181e..9e97620ea9c 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -360,14 +360,6 @@ config GOLDFISH_CAMERA_PIPE_PATH string "Goldfish camera pipe path" default "/dev/goldfish_pipe" -config GOLDFISH_CAMERA_PRIORITY - int "Goldfish camera thread priority" - default 224 - -config GOLDFISH_CAMERA_STACKSIZE - int "Goldfish camera stack size" - default DEFAULT_TASK_STACKSIZE - endif source "drivers/video/vnc/Kconfig" diff --git a/drivers/video/goldfish_camera.c b/drivers/video/goldfish_camera.c index 044a18159ae..3fe0dfb4c65 100644 --- a/drivers/video/goldfish_camera.c +++ b/drivers/video/goldfish_camera.c @@ -597,8 +597,8 @@ static int goldfish_camera_data_init(FAR struct imgdata_s *data) argv[1] = NULL; ret = kthread_create("goldfish_camera_thread", - CONFIG_GOLDFISH_CAMERA_PRIORITY, - CONFIG_GOLDFISH_CAMERA_STACKSIZE, + SCHED_PRIORITY_DEFAULT, + CONFIG_DEFAULT_TASK_STACKSIZE, goldfish_camera_thread, argv); if (ret < 0) {