summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-01-23 18:14:31 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-06 18:10:05 +0200
commitca2ea056066ff8cdf4d6849d482414d6fd739e59 (patch)
treed2ed213d04f76060d65ba42bc5e5ae441a6b4c22
parent996db4c23df9696a3d4773bc675563eac1bf4aa8 (diff)
libcamera: gen-controls: Fix documentation issue with <<
Doxygen fails to parse entries with multiple << signs as, in example, \var extern const Control<Span<int32_t>> Remove the type from the control documentation as unique control and property names should not need any additional information specified for Doxygen to correctly identify them. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rwxr-xr-xsrc/libcamera/gen-controls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/gen-controls.py b/src/libcamera/gen-controls.py
index 773e9b5d..6f020a32 100755
--- a/src/libcamera/gen-controls.py
+++ b/src/libcamera/gen-controls.py
@@ -29,7 +29,7 @@ def generate_cpp(controls):
enum_doc_value_template = string.Template(''' * \\var ${name}Values::${value}
${description}''')
doc_template = string.Template('''/**
- * \\var extern const Control<${type}> ${name}
+ * \\var ${name}
${description}
*/''')
def_template = string.Template('extern const Control<${type}> ${name}(${id_name}, "${name}");')