From 02caf41639146c11b83e79c685e7a2dba5830270 Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 20 May 2020 15:06:26 +0200 Subject: [PATCH] Reduce bluetooth discovery timeout --- charger/nrgble_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charger/nrgble_linux.go b/charger/nrgble_linux.go index 7e00faed0..acebec766 100644 --- a/charger/nrgble_linux.go +++ b/charger/nrgble_linux.go @@ -18,7 +18,7 @@ import ( "github.com/muka/go-bluetooth/hw" ) -const nrgTimeout = 30 * time.Second +const nrgTimeout = 10 * time.Second // NRGKickBLE charger implementation type NRGKickBLE struct {