Skip to content

Commit

Permalink
+ some fix due to inputs for vxworks
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24334 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
RuedKamp committed Jan 30, 2015
1 parent b76a1d6 commit c376912
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -4325,7 +4325,6 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
<%varDecls%>
/*external vars decls*/
initializeExternalVar();

/*initialize parameter*/
initializeParameterVars();
initializeIntParameterVars();
Expand All @@ -4352,12 +4351,16 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
//init alg loop vars
<%initAlgloopvars%>

#if defined(__TRICORE__) || defined(__vxworks)
//init inputs
stepStarted(0.0);
#endif
//init equations
initEquations();

//init alg loop solvers
<%initAlgloopSolvers%>

for(int i=0;i<_dimZeroFunc;i++)
{
getCondition(i);
Expand Down

0 comments on commit c376912

Please sign in to comment.