forked from platformio/platformio-core
Fix enable/disable telemetry service
This commit is contained in:
1 parent
63dcb5586c
commit
5442ee459d
1 file changed
+3
@@ -110,6 +110,9 @@ class MeasurementProtocol(TelemetryBase):
|
||||
self['cd3'] = " ".join(args)
|
||||
|
||||
def send(self, hittype):
|
||||
if not app.get_setting("enable_telemetry"):
|
||||
return
|
||||
|
||||
self['t'] = hittype
|
||||
|
||||
# correct queue time
|
||||
|
||||
Reference in new issue
Block a user