modbus/modbus.py
changeset 2703 32ffdb32b14e
parent 2677 556935640ec0
child 2719 745b64e7c695
equal deleted inserted replaced
2702:f0a70f0246da 2703:32ffdb32b14e
  1004         runtimefile = open(runtimefile_path, 'w')
  1004         runtimefile = open(runtimefile_path, 'w')
  1005         runtimefile.write(websettingcode)
  1005         runtimefile.write(websettingcode)
  1006         runtimefile.close()
  1006         runtimefile.close()
  1007 
  1007 
  1008         return ([(Gen_MB_c_path, ' -I"' + ModbusPath + '"')], LDFLAGS, True,
  1008         return ([(Gen_MB_c_path, ' -I"' + ModbusPath + '"')], LDFLAGS, True,
  1009                 ("runtime_modbus_websettings_%s.py" % location_str, open(runtimefile_path, "rb")),
  1009                 ("runtime_%s_modbus_websettings.py" % location_str, open(runtimefile_path, "rb")),
  1010         )
  1010         )