Skip to content

Commit

Permalink
-changed cycletime for vxworks
Browse files Browse the repository at this point in the history
  • Loading branch information
RuedKamp committed Sep 23, 2015
1 parent 56804f2 commit b33dc5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/Template/CodegenCpp.tpl
Expand Up @@ -2304,7 +2304,8 @@ extern "C" void <%modelname%>__FB_Init(<%modelname%>_FB_Init_struct* p)
ISimController* simController;
ISimData* simData;

double cycletime = p->instance->cycletime;
//double cycletime = p->instance->cycletime;
getMotionCycle(cycletime);

int result = initSimulation(simController, simData, cycletime);
if (result < 0)
Expand Down

0 comments on commit b33dc5a

Please sign in to comment.