forked from iarv/Akita-Meshtastic-Meshcore-Bridge
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