Commit 387ed7a5 authored by Tiago Jorge's avatar Tiago Jorge
Browse files

Add print message in Brave device driver(s) Init to check invocation from buildsupport.

parent b8bde51c
......@@ -509,7 +509,9 @@ uint32_t count;
# def InitializeBlock(self, modelingLanguage, asnFile, sp, subProgramImplementation, maybeFVname):
def InitializeBlock(self, unused_modelingLanguage: str, unused_asnFile: str, unused_sp: ApLevelContainer, unused_subProgramImplementation: str, unused_maybeFVname: str) -> None:
self.C_SourceFile.write(''' /*BRAVE_HANDLE Handle = (BRAVE_HANDLE) NULL;
self.C_SourceFile.write(''' printf("[ ********* %s Init ********* ] Device driver init ... (to be implemented) \\n");
/*BRAVE_HANDLE Handle = (BRAVE_HANDLE) NULL;
BraveRegisterErrorHandler(ErrorHandler);
......@@ -533,7 +535,7 @@ uint32_t count;
exit(1);
}
BraveSetSignalDirection(g_Handle, 0xf);
''')
''' % (self.CleanNameAsADAWants(unused_maybeFVname)))
self.C_SourceFile.write(" }*/\n")
# def ExecuteBlock(self, modelingLanguage, asnFile, sp, subProgramImplementation, maybeFVname):
......
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