Skip to content

Commit

Permalink
Fix the simulator configuration in lvmecp actor
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 25, 2024
1 parent 5de8d04 commit 1ff35d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lvmecp/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ async def actor(ctx, with_simulator: bool = False):
log.info("Using internal configuration.")

if with_simulator:
ecp_config["plc"]["host"] = "127.0.0.1"
ecp_config["plc"]["port"] = 5020
ecp_config["modbus"]["host"] = "127.0.0.1"
ecp_config["modbus"]["port"] = 5020

if not os.path.isabs(ecp_config["actor"]["schema"]):
schema_rel = ecp_config["actor"]["schema"]
Expand Down

0 comments on commit 1ff35d1

Please sign in to comment.