branch | wxPython4 |
changeset 3612 | 428fb2472f43 |
parent 3611 | 2c041d3d6ee3 |
child 3643 | c6068b674b30 |
--- a/opc_ua/client.py Wed Sep 14 14:55:13 2022 +0200 +++ b/opc_ua/client.py Wed Sep 14 14:56:25 2022 +0200 @@ -130,7 +130,8 @@ locstr = "_".join(map(str, current_location)) c_path = os.path.join(buildpath, "opcua_client__%s.c" % locstr) - c_code = self.modeldata.GenerateC(c_path, locstr, self.GetConfig()) + c_code = '#include "beremiz.h"\n' + c_code += self.modeldata.GenerateC(c_path, locstr, self.GetConfig()) with open(c_path, 'wb') as c_file: c_file.write(c_code)