Skip to content

Commit

Permalink
Update src/dcam.driver.c
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell authored Feb 20, 2024
1 parent 73e6606 commit 3754555
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dcam.driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,7 @@ reset_driver_and_replace_camera(struct Dcam4Camera* self)
driver->cameras[i]->camera.device.identifier.name,
sizeof(self_name))) {
*self = *driver->cameras[i];
lock_release(&driver->lock);
return driver->cameras[i];
break;
}
}
lock_release(&driver->lock);
Expand Down

0 comments on commit 3754555

Please sign in to comment.