if phone ble stack is hosed restart it

This commit is contained in:
geeksville 2020-02-25 09:28:47 -08:00
parent dac3610f7d
commit 2c8c7ac8d6
5 changed files with 75 additions and 11 deletions

View file

@ -43,8 +43,7 @@ object ScanState : Logging {
debug("stopping scan")
scanner!!.stopScan(callback)
callback = null
} else
debug("not stopping bt scanner")
}
}
}