Only wait if response is wanted

This commit is contained in:
GUVWAF committed 2023-08-21 21:09:12 +02:00
1 parent 0192eed76e
commit d6ee815183
1 file changed
+2 -1
+2 -1
View File
@@ -447,7 +447,8 @@ class MeshInterface:
wantResponse=wantResponse,
onResponse=onResponse,
)
self.waitForTelemetry()
if wantResponse:
self.waitForTelemetry()
def onResponseTelemetry(self, p):
"""on response for telemetry"""