summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/py/libcamera/gen-py-controls.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/py/libcamera/gen-py-controls.py b/src/py/libcamera/gen-py-controls.py
index 99f3bbcf..9948c41e 100755
--- a/src/py/libcamera/gen-py-controls.py
+++ b/src/py/libcamera/gen-py-controls.py
@@ -48,9 +48,6 @@ def generate_py(controls, mode):
# Adjustments for controls
if name == 'LensShadingMapMode':
prefix = 'LensShadingMapMode'
- elif name == 'SceneFlicker':
- # If we strip the prefix, we would get '50Hz', which is illegal name
- prefix = ''
else:
prefix = find_common_prefix([e['name'] for e in enum])
else: