USB: fix proto stop for Kenwood GPS

markdownfixes
Georg Lukas 2016-10-05 17:43:33 +02:00
rodzic 40539f9487
commit 4b13c8a579
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -127,6 +127,7 @@ class UsbTnc(service : AprsService, prefs : PrefsWrapper) extends AprsBackend(pr
//thread.shutdown()
thread.interrupt()
thread.join(50)
proto.stop()
}
class UsbThread()
@ -178,7 +179,6 @@ class UsbTnc(service : AprsService, prefs : PrefsWrapper) extends AprsBackend(pr
service.postSubmit(line)
}
Log.d(TAG, "terminate()")
proto.stop()
}