From 666905182511153f86d041dcc501f6fc37ba793b Mon Sep 17 00:00:00 2001
From: David Plowman <david.plowman@raspberrypi.com>
Date: Fri, 20 Nov 2020 11:16:18 +0000
Subject: src: ipa: raspberrypi: Change 'sport' exposure mode name to 'short'

The names have to match for the setting to work. Use the libcamera
terminology for consistency (even though it touches more files).

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
 utils/raspberrypi/ctt/ctt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'utils')

diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py
index 30d35ae4..15064634 100755
--- a/utils/raspberrypi/ctt/ctt.py
+++ b/utils/raspberrypi/ctt/ctt.py
@@ -130,7 +130,7 @@ class Camera:
                         "shutter": [100, 10000, 30000, 60000, 120000],
                         "gain": [1.0, 2.0, 4.0, 6.0, 6.0]
                     },
-                    "sport": {
+                    "short": {
                         "shutter": [100, 5000, 10000, 20000, 120000],
                         "gain": [1.0, 2.0, 4.0, 6.0, 6.0]
                     }
-- 
cgit v1.2.1