Commit 5560df2c authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

10 years have passed since RTW7.4 - assume versions later than 7 from now on by default.

parent e690eb08
......@@ -450,7 +450,7 @@ class SimulinkGlueGenerator(SynchronousToolGlueGenerator):
self.C_SourceFile.write(" static int initialized = 0;\n")
self.C_SourceFile.write(" if (!initialized) {\n")
self.C_SourceFile.write(" initialized = 1;\n")
self.C_SourceFile.write(" %s_initialize(1);\n" % self.g_FVname)
self.C_SourceFile.write(" %s_initialize();\n" % self.g_FVname)
self.C_SourceFile.write(" }\n")
def ExecuteBlock(self, unused_modelingLanguage: str, unused_asnFile: str, unused_sp: ApLevelContainer, unused_subProgramImplementation: str, unused_maybeFVname: str) -> None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment