Skip to content

Commit

Permalink
#323: change local_node_id from 0 to none
Browse files Browse the repository at this point in the history
  • Loading branch information
songmeo committed May 3, 2024
1 parent 6dd5252 commit 6e3b2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycyphal/transport/udp/_udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class UDPTransport(pycyphal.transport.Transport):
def __init__(
self,
local_ip_address: IPAddress | str,
local_node_id: typing.Optional[int],
local_node_id: typing.Optional[int] = None,
*, # The following parameters are keyword-only.
mtu: int = MTU_DEFAULT,
service_transfer_multiplier: int = 1,
Expand Down

0 comments on commit 6e3b2bc

Please sign in to comment.