From b33dc5a5b61401335122b4c1f5571e34cc32eecd Mon Sep 17 00:00:00 2001 From: RuedKamp Date: Wed, 23 Sep 2015 14:02:49 +0200 Subject: [PATCH] -changed cycletime for vxworks --- Compiler/Template/CodegenCpp.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Compiler/Template/CodegenCpp.tpl b/Compiler/Template/CodegenCpp.tpl index 9e76f0c1c06..b355e92dccc 100644 --- a/Compiler/Template/CodegenCpp.tpl +++ b/Compiler/Template/CodegenCpp.tpl @@ -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)