mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix autobug while shutting down interface
This commit is contained in:
parent
518241c3c9
commit
2327c5e693
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue