Skip to content

Commit

Permalink
printEnvData macro: determine if ALL-VALUE ought to be used by lookin…
Browse files Browse the repository at this point in the history
…g at `.dtc_values`

for some reason, this is more stable.

Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Florian Jost <[email protected]>
  • Loading branch information
andlaus committed Jan 15, 2024
1 parent dcb096c commit e30a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odxtools/templates/macros/printEnvData.xml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- macro printEnvData(env_data) %}
<ENV-DATA {{ pbs.printBasicStructureAttribs(env_data) }}>
{{ pbs.printBasicStructureSubtags(env_data)|indent(1) }}
{%- if env_data.all_value %}
{%- if not env_data.dtc_values %}
<ALL-VALUE/>
{%- else %}
<DTC-VALUES>
Expand Down

0 comments on commit e30a6e8

Please sign in to comment.