projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altoslib: Mark listener as 'not running' on EOF.
[fw/altos]
/
telegps
/
TeleGPSDisplayThread.java
diff --git
a/telegps/TeleGPSDisplayThread.java
b/telegps/TeleGPSDisplayThread.java
index 18b8d9fcd7fe29d0bd086756da27b8277286b07c..6305bf2f6929a61372b02800e2ec078c63a6c666 100644
(file)
--- a/
telegps/TeleGPSDisplayThread.java
+++ b/
telegps/TeleGPSDisplayThread.java
@@
-168,8
+168,10
@@
public class TeleGPSDisplayThread extends Thread {
for (;;) {
try {
state = reader.read();
- if (state == null)
+ if (state == null) {
+ listener_state.running = false;
break;
+ }
reader.update(state);
show_safely();
told = tell();