Skip to content

Commit

Permalink
OpenCyphal#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 40e1482 commit f1ff897
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] = 0,
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 f1ff897

Please sign in to comment.