Only wait if response is wanted

This commit is contained in:
GUVWAF
2023-08-21 21:09:12 +02:00
parent 0192eed76e
commit d6ee815183

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"""