arch/sim: Rename sim_video to sim_camera

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-07-02 10:15:23 +08:00
committed by Masayuki Ishikawa
parent 6611bf99c4
commit af50cdd21b
8 changed files with 371 additions and 370 deletions
+5 -5
View File
@@ -283,18 +283,18 @@ endchoice
endif
config SIM_VIDEO
config SIM_CAMERA
bool "Simulated video support"
depends on VIDEO
default y
if SIM_VIDEO
if SIM_CAMERA
choice
prompt "Simulated video device type"
default SIM_VIDEO_V4L2
default SIM_CAMERA_V4L2
config SIM_VIDEO_V4L2
config SIM_CAMERA_V4L2
bool "V4L2 camera support on sim"
depends on HOST_LINUX
@@ -304,7 +304,7 @@ config HOST_VIDEO_DEV_PATH
string "Host video device path"
default "/dev/video0"
config SIM_VIDEO_DEV_PATH
config SIM_CAMERA_DEV_PATH
string "NuttX video device path"
default "/dev/video"