increaded gattc_linux.go time.Sleep -> (40 * time.Millisecond)
This commit is contained in:
parent
16d12fd44b
commit
f718c09265
2
vendor/tinygo.org/x/bluetooth/gattc_linux.go
generated
vendored
2
vendor/tinygo.org/x/bluetooth/gattc_linux.go
generated
vendored
@ -48,7 +48,7 @@ func (d *Device) DiscoverServices(uuids []UUID) ([]DeviceService, error) {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
// This is a terrible hack, but I couldn't find another way.
|
// This is a terrible hack, but I couldn't find another way.
|
||||||
time.Sleep(30 * time.Millisecond)
|
time.Sleep(40 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
services := []DeviceService{}
|
services := []DeviceService{}
|
||||||
|
Loading…
Reference in New Issue
Block a user