split out common code for USB and BLE links

This commit is contained in:
geeksville 2020-06-04 12:34:34 -07:00
parent 54c832f591
commit cecc369598
7 changed files with 255 additions and 169 deletions

View file

@ -734,7 +734,7 @@ class MainActivity : AppCompatActivity(), Logging,
bindMeshService()
val bonded =
RadioInterfaceService.getBondedDeviceAddress(this) != null
BluetoothInterfaceService.getBondedDeviceAddress(this) != null
if (!bonded)
pager.currentItem = 5
}