projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
451950b
)
altoslib: When GPS disappears, set range and elevation to MISSING
author
Keith Packard
<keithp@keithp.com>
Sat, 14 Jun 2014 21:34:59 +0000
(14:34 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 14 Jun 2014 21:34:59 +0000
(14:34 -0700)
Use MISSING instead of bogus values so that displayers can tell what
to do.
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosState.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosState.java
b/altoslib/AltosState.java
index d391dcfb2f2773c90ec4cb711c54aa7d97ea076d..b05cd3586061ad111d99084733f84865c360339e 100644
(file)
--- a/
altoslib/AltosState.java
+++ b/
altoslib/AltosState.java
@@
-910,8
+910,8
@@
public class AltosState implements Cloneable {
}
void update_gps() {
- elevation =
0
;
- range =
-1
;
+ elevation =
AltosLib.MISSING
;
+ range =
AltosLib.MISSING
;
if (gps == null)
return;