diff --git a/mesh_bot.py b/mesh_bot.py index 78f3f76..01c7a8d 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -1601,9 +1601,6 @@ def onReceive(packet, interface): if hop == "" and hop_count > 0: hop = f"{hop_count} Hop" if hop_count == 1 else f"{hop_count} Hops" - if hop_away == 0 and hop_limit == 0 and hop_start == 0: - hop = "Last Hop" - if hop_start == hop_limit and "lora" in str(transport_mechanism).lower(): hop = "Direct" diff --git a/pong_bot.py b/pong_bot.py index cdc3000..c0ebe19 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -348,9 +348,6 @@ def onReceive(packet, interface): if hop == "" and hop_count > 0: hop = f"{hop_count} Hop" if hop_count == 1 else f"{hop_count} Hops" - if hop_away == 0 and hop_limit == 0 and hop_start == 0: - hop = "Last Hop" - if hop_start == hop_limit and "lora" in str(transport_mechanism).lower(): hop = "Direct"