From 85dfd57547b574488797d1f468416aaf059c98fe Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Wed, 19 Jun 2013 11:32:52 -0700 Subject: [PATCH] If we're going to take the parameters, we should probably apply them. --- interface/external/UVCCameraControl/src/UVCCameraControl.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/external/UVCCameraControl/src/UVCCameraControl.m b/interface/external/UVCCameraControl/src/UVCCameraControl.m index ac95e53658..360f2c5132 100644 --- a/interface/external/UVCCameraControl/src/UVCCameraControl.m +++ b/interface/external/UVCCameraControl/src/UVCCameraControl.m @@ -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];