From e30a6e8302a497b6f22cd1232582cb92cbdd39fc Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Fri, 12 Jan 2024 15:34:19 +0100 Subject: [PATCH] printEnvData macro: determine if ALL-VALUE ought to be used by looking at `.dtc_values` for some reason, this is more stable. Signed-off-by: Andreas Lauser Signed-off-by: Florian Jost --- odxtools/templates/macros/printEnvData.xml.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odxtools/templates/macros/printEnvData.xml.jinja2 b/odxtools/templates/macros/printEnvData.xml.jinja2 index 2a7f9e6e..fd0ac9c8 100644 --- a/odxtools/templates/macros/printEnvData.xml.jinja2 +++ b/odxtools/templates/macros/printEnvData.xml.jinja2 @@ -9,7 +9,7 @@ {%- macro printEnvData(env_data) %} {{ pbs.printBasicStructureSubtags(env_data)|indent(1) }} - {%- if env_data.all_value %} + {%- if not env_data.dtc_values %} {%- else %}