clean up a bit the logic of how we get to know whether the telemetry started on devices lookup
This commit is contained in:
@@ -36,7 +36,6 @@ type TelemetryService struct {
|
||||
CtxHealthcheck context.Context
|
||||
healthCheckCancel context.CancelFunc
|
||||
// Callbacks
|
||||
OnProviderFound func(string)
|
||||
// Devices data request
|
||||
peripheralProvider func() []peripheral.Peripheral
|
||||
}
|
||||
@@ -277,8 +276,4 @@ func (t *TelemetryService) IsStreaming() bool {
|
||||
|
||||
// Callbacks [START] -----------------------------------------------------------
|
||||
|
||||
func (t *TelemetryService) PeripheralFoundCallback(pname string) {
|
||||
t.Messages <- "Telemetry service callback for peripheral found called\n"
|
||||
}
|
||||
|
||||
// Callbacks [END] -------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user