modbus/modbus.py
changeset 2719 745b64e7c695
parent 2718 76e8ec46828a
parent 2703 32ffdb32b14e
child 2724 3f3f9dce9140
equal deleted inserted replaced
2718:76e8ec46828a 2719:745b64e7c695
  1056         runtimefile = open(runtimefile_path, 'w')
  1056         runtimefile = open(runtimefile_path, 'w')
  1057         runtimefile.write(websettingcode)
  1057         runtimefile.write(websettingcode)
  1058         runtimefile.close()
  1058         runtimefile.close()
  1059 
  1059 
  1060         return ([(Gen_MB_c_path, ' -I"' + ModbusPath + '"')], LDFLAGS, True,
  1060         return ([(Gen_MB_c_path, ' -I"' + ModbusPath + '"')], LDFLAGS, True,
  1061                 ("runtime_modbus_websettings_%s.py" % location_str, open(runtimefile_path, "rb")),
  1061                 ("runtime_%s_modbus_websettings.py" % location_str, open(runtimefile_path, "rb")),
  1062         )
  1062         )