summaryrefslogtreecommitdiff
authorsky.zhou <sky.zhou@amlogic.com>2012-10-16 07:05:47 (GMT)
committer sky.zhou <sky.zhou@amlogic.com>2012-10-16 07:05:47 (GMT)
commit29e8470d672a830d5a4bfef5e5ae86a4a0a7be7d (patch)
tree62bfee1583229c2ec0e0df3a05089b66955eb879
parent577dc89b965c8e58676a273e8ece68acc8eb106a (diff)
downloadcamera-29e8470d672a830d5a4bfef5e5ae86a4a0a7be7d.zip
camera-29e8470d672a830d5a4bfef5e5ae86a4a0a7be7d.tar.gz
camera-29e8470d672a830d5a4bfef5e5ae86a4a0a7be7d.tar.bz2
Revert "fix compile error"
This reverts commit 577dc89b965c8e58676a273e8ece68acc8eb106a.
Diffstat
-rwxr-xr-xV4LCameraAdapter/V4LCameraAdapter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/V4LCameraAdapter/V4LCameraAdapter.cpp b/V4LCameraAdapter/V4LCameraAdapter.cpp
index 5c16249..dae7e6a 100755
--- a/V4LCameraAdapter/V4LCameraAdapter.cpp
+++ b/V4LCameraAdapter/V4LCameraAdapter.cpp
@@ -1902,7 +1902,6 @@ status_t V4LCameraAdapter::disableMirror(bool bDisable) {
}
status_t V4LCameraAdapter::setMirrorEffect() {
-#ifndef AMLOGIC_USB_CAMERA_SUPPORT
bool bEnable = mbFrontCamera&&(!mbDisableMirror);
LOGD("setmirror effect %d",bEnable);
@@ -1913,7 +1912,6 @@ status_t V4LCameraAdapter::setMirrorEffect() {
writefile((char *)SYSFILE_CAMERA_SET_MIRROR,(char*)(bEnable?"1":"0"));
}
return NO_ERROR;
-#endif
}