summaryrefslogtreecommitdiffstats
path: root/camerawrapper
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-02-25 23:24:52 +0000
committercodeworkx <codeworkx@cyanogenmod.org>2013-02-25 23:24:52 +0000
commit06887c0191c3dbeb9b4fd0bc378e94fe0bf4f640 (patch)
treef677c53b3183044ba1a2ca31050ab13509471e71 /camerawrapper
parent2b0d66aed2381e868aa3f8d980add7624924d6ff (diff)
downloaddevice_samsung_p5100-06887c0191c3dbeb9b4fd0bc378e94fe0bf4f640.zip
device_samsung_p5100-06887c0191c3dbeb9b4fd0bc378e94fe0bf4f640.tar.gz
device_samsung_p5100-06887c0191c3dbeb9b4fd0bc378e94fe0bf4f640.tar.bz2
p5100: camera: fix copy & paste fail
Change-Id: I049d5fa1d16305e2eb29165a45fb488f96afb1f9
Diffstat (limited to 'camerawrapper')
-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)