diff --git a/circuitpython_nrf24l01/rf24_mesh.py b/circuitpython_nrf24l01/rf24_mesh.py index 53e8c00..00fc41f 100644 --- a/circuitpython_nrf24l01/rf24_mesh.py +++ b/circuitpython_nrf24l01/rf24_mesh.py @@ -321,6 +321,11 @@ def __init__( #: A `dict` that enables master nodes to act as a DNS. self.dhcp_dict: Dict[int, int] = {} + def renew_address(self, timeout: float | int = 7.5): + if not self._id: + return 0 + return super().renew_address(timeout) + def update(self) -> int: """Checks for incoming network data and returns last message type (if any)""" msg_t = super().update()