kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
fix autobug while shutting down interface
rodzic
518241c3c9
commit
2327c5e693
|
@ -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")
|
||||
|
|
Ładowanie…
Reference in New Issue