diff options
author | Vladimir Petrov <vppetrov@mm-sol.com> | 2012-06-22 13:17:02 +0300 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-26 18:22:44 +0200 |
commit | 4dfd475097b98db1482f765471a50ac65997caff (patch) | |
tree | f976d611dc6c43cfd008708342af0809e07caa84 /test | |
parent | 28b6046e030068e2f56546697a9d5bc4c1b5fd1c (diff) | |
download | hardware_ti_omap4-4dfd475097b98db1482f765471a50ac65997caff.zip hardware_ti_omap4-4dfd475097b98db1482f765471a50ac65997caff.tar.gz hardware_ti_omap4-4dfd475097b98db1482f765471a50ac65997caff.tar.bz2 |
Camera_test: Fix typo in absolute exposure settings
There is a typo in setSingleExpGainPreset().
When in absolute exp. bracketing modes, the address of the
abs() math function is used as value to configure the exposure
time, instead of the exposure time argument.
After applying this patch, the absolute exposure time
in streaming shot mode will be set correctly.
Change-Id: I244dd6869f2b69bf5d7c087c694001e7b64d032d
Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/CameraHal/camera_test_menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CameraHal/camera_test_menu.cpp b/test/CameraHal/camera_test_menu.cpp index 1908ae3..ff6ca39 100644 --- a/test/CameraHal/camera_test_menu.cpp +++ b/test/CameraHal/camera_test_menu.cpp @@ -2170,7 +2170,7 @@ void setSingleExpGainPreset(ShotParameters ¶ms, int idx, int exp, int gain) if (PARAM_EXP_BRACKET_VALUE_REL == expBracketing[idx].value_type) { val.appendFormat("%+d", exp); } else { - val.appendFormat("%u", (unsigned int) abs); + val.appendFormat("%u", (unsigned int) exp); } if (PARAM_EXP_BRACKET_PARAM_PAIR == expBracketing[idx].param_type) { |