fix autobug while shutting down interface

pull/266/head
Kevin Hester 2021-03-23 13:07:32 +08:00
rodzic 518241c3c9
commit 2327c5e693
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -313,7 +313,7 @@ class BluetoothInterface(val service: RadioInterfaceService, val address: String
var fromNumChanged = false
private fun startWatchingFromNum() {
safe!!.setNotify(fromNum, true) {
safe?.setNotify(fromNum, true) {
// We might get multiple notifies before we get around to reading from the radio - so just set one flag
fromNumChanged = true
debug("fromNum changed")