Use adapter ID in btmgmt as well

This commit is contained in:
Arsen Musayelyan 2022-05-02 20:20:16 -07:00
parent 5e5eef15dc
commit 65fa04d360
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func Init(adapterID string) {
panic(err)
}
daMgmt := btmgmt.NewBtMgmt(bt.GetDefaultAdapterID())
daMgmt := btmgmt.NewBtMgmt(adapterID)
daMgmt.SetPowered(true)
defaultAdapter = da