Skip to content

Commit 74ae5bb

Browse files
authored
pymodbus.server: listen on ID 1 by default (#1496)
1 parent 6b0097c commit 74ae5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/repl/server/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def run(
139139
),
140140
modbus_port: int = typer.Option(5020, "--modbus-port", "-p", help="Modbus port"),
141141
modbus_slave_id: List[int] = typer.Option(
142-
None, "--slave-id", "-u", help="Supported Modbus slave id's"
142+
[1], "--slave-id", "-u", help="Supported Modbus slave id's"
143143
),
144144
modbus_config_path: Path = typer.Option(
145145
None, help="Path to additional modbus server config"

0 commit comments

Comments
 (0)