Update cam.c

The user can now set a custom camera device override of "SKIP" to leave that camera unassigned
This commit is contained in:
Jeffrey Paine
2023-04-08 22:13:10 -04:00
committed by GitHub
parent e9d24f7f90
commit e16f151b7c
+5
View File
@@ -706,6 +706,11 @@ void fill_cam_struct(struct CameraData *data, const char *devid)
// Device instance path
strcpy(data->deviceInstancePath, devid);
// continue
} else if (check_four(devid, "SKIP")) {
// User wants to leave this camera unassigned
num_addressed_cams++;
num_located_cams++;
return;
} else {
// UNKNOWN ENTRY
log_info("UNK: %s", devid);