Commit 115cb4d5 by Tobias Langer

Fixed implementation of data arrays.

parent 7c2360ca
......@@ -14,18 +14,22 @@ struct {{name}} {
{{/fields}}
};
{{/data_description}}
{{#data}}
{{type}} {{name}}[] = {
{{#elem}}
.wcet = {{wcet}}
.period = {{period}}
.deadline = {{deadline}}
.periodical = {{periodical}}
.ticktype = {{ticktype}}
{{/elem}}
};
{{/data}}
{{type}} {{name}}[] = {
{{#elem}}
{
.offset = {{offset}},
.wcet = {{wcet}},
.period = {{period}},
.deadline = {{deadline}},
.periodical = {{periodical}},
},
{{/elem}}
};
const int {{name}}_length = sizeof({{name}}) / sizeof({{type}});
{{/data}}
{{#executions}}
int executions = 500;
{{/executions}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment