diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2022-09-30 13:18:12 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-09-30 23:12:05 +0300 |
commit | c97cf467ea79ed886dc549bff6837900427ca11e (patch) | |
tree | e6ea3b0bf1b47123100f4827675565290eedbbbc /src/py/cam/gl_helpers.py | |
parent | daec83536d2ce5be7e1e39fb1db1d07ff22de369 (diff) |
py: Support controls that are ControlTypeNone
Such controls can now be created when a control doesn't have a
reasonable or obvious default value. We support them using Python's
"None" value, rather than generating a runtime error.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Christian Rauch <Rauch.Christian@gmx.de>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/py/cam/gl_helpers.py')
0 files changed, 0 insertions, 0 deletions