From 34889d480386b0f8e6a9a9970c6f6ef141341826 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 10 Feb 2023 14:48:04 +1000 Subject: [PATCH] scanner: pass the component through as well For the cases where we have to add "ei" or "eis" in a random place in the template. --- proto/scanner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/proto/scanner.py b/proto/scanner.py index 4308bfb..355ed29 100755 --- a/proto/scanner.py +++ b/proto/scanner.py @@ -588,6 +588,7 @@ def generate_source( }[component] data = {} + data["component"] = component data["target"] = target data["interfaces"] = proto.interfaces if headerfile: