From d002c5ede81b73a053810ef46eb47f5234bd9ef2 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 21 Oct 2025 14:26:43 -0700 Subject: [PATCH] remove LastHop --- mesh_bot.py | 3 --- pong_bot.py | 3 --- 2 files changed, 6 deletions(-) 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"