From 90eafc1abf10139dfe093ad72dc362dd74e4d427 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Sat, 18 Jun 2022 04:05:05 -0700 Subject: [PATCH] oops wrong line concerning lsat commit --- examples/mesh_example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mesh_example.py b/examples/mesh_example.py index 61d56df..ffdbf54 100644 --- a/examples/mesh_example.py +++ b/examples/mesh_example.py @@ -22,7 +22,7 @@ def millis(): mesh.node_id = 4 print("starting nodeID", mesh.node_id) if not mesh.begin(): - if radio.is_chip_connected(): + if radio.is_chip_connected: try: print("Could not connect to network.\nConnecting to mesh...") while mesh.renew_address() == MESH_DEFAULT_ADDRESS: @@ -46,7 +46,7 @@ def millis(): if not mesh.write(struct.pack("L", TIMER), ord("M")): # If a write fails, check connectivity to the mesh network - if not mesh.check_connection: + if not mesh.check_connection(): # The address could be refreshed per a specified time frame # or only when sequential writes fail, etc. print("Send fail. Renewing Address...")