summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2022-03-17 15:03:27 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-03-23 01:19:23 +0200
commitb9b5e776f60ba5e679d744315df63378e2067dd4 (patch)
treeb8a8d06b28bca598ffb6cd9d079b1926c8e6350a
parenta8284e3570de133960458c5703e75dc9e8e737c8 (diff)
ipa: raspberrypi: awb: Fix typo in AWB mode conversion table
The AwbAuto mode is defined in all the JSON tuning files as "auto", not "normal". The effect of this was that you couldn't switch back to "auto" mode once you had switched away. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index fd8fecb0..1bf4e270 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -604,7 +604,7 @@ static const std::map<int32_t, std::string> ExposureModeTable = {
};
static const std::map<int32_t, std::string> AwbModeTable = {
- { controls::AwbAuto, "normal" },
+ { controls::AwbAuto, "auto" },
{ controls::AwbIncandescent, "incandescent" },
{ controls::AwbTungsten, "tungsten" },
{ controls::AwbFluorescent, "fluorescent" },