mirror of
https://github.com/AkitaEngineering/Akita-Meshtastic-Meshcore-Bridge.git
synced 2026-03-28 17:42:42 +01:00
Merge pull request #5 from AkitaEngineering/examples/config-templates
fix: update _on_meshtastic_receive method to include weak reference p…
This commit is contained in:
@@ -184,7 +184,7 @@ class MeshtasticHandler:
|
||||
|
||||
self.logger.info("Meshtastic handler stopped.")
|
||||
|
||||
def _on_meshtastic_receive(self, packet: Dict[str, Any], interface: Any):
|
||||
def _on_meshtastic_receive(self, packet: Dict[str, Any], interface: Any, weak=None):
|
||||
try:
|
||||
if not packet or "from" not in packet:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user