Use adapter ID in btmgmt as well

gatt_localtime
Arsen Musayelyan 9 months ago
parent 5e5eef15dc
commit 65fa04d360

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

Loading…
Cancel
Save