From 4bfedf6aa9144b64be1a2ca0e957a178898fd09b Mon Sep 17 00:00:00 2001 From: Manuel Verch Date: Sun, 26 Mar 2023 19:59:25 +0200 Subject: [PATCH] added missing audio module remote config --- meshtastic/mesh_interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meshtastic/mesh_interface.py b/meshtastic/mesh_interface.py index a0baee8..10633bd 100644 --- a/meshtastic/mesh_interface.py +++ b/meshtastic/mesh_interface.py @@ -615,6 +615,8 @@ class MeshInterface: self.localNode.moduleConfig.telemetry.CopyFrom(fromRadio.moduleConfig.telemetry) elif fromRadio.moduleConfig.HasField("canned_message"): self.localNode.moduleConfig.canned_message.CopyFrom(fromRadio.moduleConfig.canned_message) + elif fromRadio.moduleConfig.HasField("audio"): + self.localNode.moduleConfig.audio.CopyFrom(fromRadio.moduleConfig.audio) elif fromRadio.moduleConfig.HasField("remote_hardware"): self.localNode.moduleConfig.remote_hardware.CopyFrom(fromRadio.moduleConfig.remote_hardware)