mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
aux/bindings: Don't generate invalid code for missing monado_binding
The closing } for a binding template was not written.
This commit is contained in:
parent
47801859e7
commit
595ca11c68
|
@ -196,10 +196,8 @@ def generate_bindings_c(file, p):
|
||||||
|
|
||||||
component_str = component.component_str
|
component_str = component.component_str
|
||||||
|
|
||||||
# controllers can have input that we don't have bindings for'
|
# controllers can have input that we don't have bindings for
|
||||||
if component_str not in sp_obj["monado_bindings"]:
|
if component_str in sp_obj["monado_bindings"]:
|
||||||
continue
|
|
||||||
|
|
||||||
monado_binding = sp_obj["monado_bindings"][component_str]
|
monado_binding = sp_obj["monado_bindings"][component_str]
|
||||||
|
|
||||||
if component.is_input() and monado_binding is not None:
|
if component.is_input() and monado_binding is not None:
|
||||||
|
|
Loading…
Reference in a new issue