summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camerawrapper/CameraWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/camerawrapper/CameraWrapper.cpp b/camerawrapper/CameraWrapper.cpp
index 5c1223a..f9ff088 100644
--- a/camerawrapper/CameraWrapper.cpp
+++ b/camerawrapper/CameraWrapper.cpp
@@ -317,7 +317,7 @@ int camera_cancel_picture(struct camera_device * device)
if(!device)
return -EINVAL;
- return VENDOR_CALL(device, take_picture);
+ return VENDOR_CALL(device, cancel_picture);
}
int camera_set_parameters(struct camera_device * device, const char *params)