py: Fix None value in ControlType enum
"None" is not a valid name for an enum value, so change it to "Null". Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
0381b09f89
commit
ccfcf5f235
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ void init_py_enums(py::module &m)
|
|||
.value("Viewfinder", StreamRole::Viewfinder);
|
||||
|
||||
py::enum_<ControlType>(m, "ControlType")
|
||||
.value("None", ControlType::ControlTypeNone)
|
||||
.value("Null", ControlType::ControlTypeNone)
|
||||
.value("Bool", ControlType::ControlTypeBool)
|
||||
.value("Byte", ControlType::ControlTypeByte)
|
||||
.value("Integer32", ControlType::ControlTypeInteger32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue