mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
If we're going to take the parameters, we should probably apply them.
This commit is contained in:
parent
ee783be628
commit
85dfd57547
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
void configureCamera(int vendorID, int productID, int autoExposure, float exposure, float contrast,
|
||||
float saturation, float sharpness, int autoWhiteBalance, float whiteBalance) {
|
||||
UVCCameraControl* cameraControl = [[UVCCameraControl alloc] initWithVendorID:0x05ac productID:0x8510];
|
||||
UVCCameraControl* cameraControl = [[UVCCameraControl alloc] initWithVendorID:vendorID productID:productID];
|
||||
[cameraControl setAutoExposure:autoExposure];
|
||||
[cameraControl setExposure:exposure];
|
||||
[cameraControl setContrast:contrast];
|
||||
|
|
Loading…
Reference in a new issue