diff --git a/btsetup.go b/btsetup.go index 3233ba0..ae3ce11 100644 --- a/btsetup.go +++ b/btsetup.go @@ -5,7 +5,6 @@ import ( bt "github.com/muka/go-bluetooth/api" "github.com/muka/go-bluetooth/bluez/profile/adapter" "github.com/muka/go-bluetooth/bluez/profile/agent" - "github.com/muka/go-bluetooth/hw/linux/btmgmt" ) var defaultAdapter *adapter.Adapter1 @@ -33,9 +32,6 @@ func Init(adapterID string) { panic(err) } - daMgmt := btmgmt.NewBtMgmt(adapterID) - daMgmt.SetPowered(true) - defaultAdapter = da itdAgent = ag }