From 6e3b2bcaa99469c315edcf0d0373414711f07d5d Mon Sep 17 00:00:00 2001 From: Song Meo Date: Fri, 3 May 2024 15:43:03 +0300 Subject: [PATCH] #323: change local_node_id from 0 to none --- pycyphal/transport/udp/_udp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycyphal/transport/udp/_udp.py b/pycyphal/transport/udp/_udp.py index dc5d10de..600c56a9 100644 --- a/pycyphal/transport/udp/_udp.py +++ b/pycyphal/transport/udp/_udp.py @@ -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,