forked from Elara6331/infinitime
Remove btmgmt
This commit is contained in:
parent
a73cfb3da5
commit
8961780053
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user