Add device_hw_t and device_v4l2_open

This commit is contained in:
Kamil Trzcinski
2022-04-10 09:54:02 +02:00
parent 13528eff1d
commit 76f35f37c8
8 changed files with 35 additions and 18 deletions

View File

@@ -39,7 +39,7 @@ camera_t *camera_open(camera_options_t *options)
camera->name = "CAMERA";
camera->options = *options;
camera->camera = device_open(camera->name, camera->options.path);
camera->camera = device_v4l2_open(camera->name, camera->options.path);
if (!camera->camera) {
goto error;
}