[libcamera-devel] [PATCH] utils: ipc: proxy worker: Fix indentation in call deserialization
Paul Elder
paul.elder at ideasonboard.com
Mon Sep 6 10:19:08 CEST 2021
The indentation of the deserialization call on the proxy worker side
inside the case statement was one level too shallow. Fix it.
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
.../libcamera_templates/module_ipa_proxy_worker.cpp.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/ipc/generators/libcamera_templates/module_ipa_proxy_worker.cpp.tmpl b/utils/ipc/generators/libcamera_templates/module_ipa_proxy_worker.cpp.tmpl
index c54ecdb9..c306d8df 100644
--- a/utils/ipc/generators/libcamera_templates/module_ipa_proxy_worker.cpp.tmpl
+++ b/utils/ipc/generators/libcamera_templates/module_ipa_proxy_worker.cpp.tmpl
@@ -79,7 +79,7 @@ public:
{% for method in interface_main.methods %}
case {{cmd_enum_name}}::{{method.mojom_name|cap}}: {
- {{proxy_funcs.deserialize_call(method|method_param_inputs, '_ipcMessage.data()', '_ipcMessage.fds()', false, true)|indent(8, true)}}
+ {{proxy_funcs.deserialize_call(method|method_param_inputs, '_ipcMessage.data()', '_ipcMessage.fds()', false, true)|indent(16, true)}}
{% for param in method|method_param_outputs %}
{{param|name}} {{param.mojom_name}};
{% endfor %}
--
2.27.0
More information about the libcamera-devel
mailing list