summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/colors.py
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2024-04-26 12:18:15 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-05-09 12:49:35 +0100
commit299e5278bd7657c785b7adac0c4f02d7e42f22c2 (patch)
tree988a14c4ceec5140808e1dabc5212369128db1ce /utils/raspberrypi/ctt/colors.py
parent5e85157bcf156137259c57a2ebc5d5616dbb2e37 (diff)
ipa: rpi: Fix for incorrectly reported max shutter speed
The maximum shutter speed calculation in the cam-helper relied on the frame duration limits being correctly set in the cam-helper's mode structure. This was not the case on first startup, so the maximum shutter speed reported back via the ControlInfo was incorrect. Fix this by setting up the camera mode in the cam-helper before querying for the max shutter value. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi/ctt/colors.py')
0 files changed, 0 insertions, 0 deletions